core: Mysensor intergration do not update Device info and Entities under them

The problem

I have added some nodes to my MySensor integration and now I decided to change the code and present some new values ex Old presentation of entities present(CHILD_ID_HUM, S_HUM); present(CHILD_ID_TEMP, S_TEMP);

New presentation present(BARO_CHILD_ID, S_BARO,“2-Ute-Baro”); present(TEMP_CHILD_ID, S_TEMP,“2-Ute-temp”); present(HUM_CHILD_ID, S_HUM,“2-Ute-Humidity”);

changed sensor from DHT22 to a BMP280

This is not reflected under devices and entities in HA. Log says WARNING (MainThread) [mysensors.sensor] child_id 0 already exists in children of node 2, cannot add child WARNING (MainThread) [mysensors.sensor] child_id 1 already exists in children of node 2, cannot add child WARNING (MainThread) [mysensors.sensor] child_id 2 already exists in children of node 2, cannot add child

I also need to remove a some old Devices that no longer is in use and I have not found any way to this in HA?

What version of Home Assistant Core has the issue?

2021.12.3

What was the last working version of Home Assistant Core?

never worked

What type of installation are you running?

Home Assistant OS

Integration causing the issue

Mysensors

Link to integration documentation on our website

https://www.home-assistant.io/integrations/mysensors/

Example YAML snippet

No response

Anything in the logs that might be useful for us?

2021-12-26 20:57:33 WARNING (MainThread) [mysensors.sensor] child_id 1 already exists in children of node 2, cannot add child
2021-12-26 21:02:29 WARNING (MainThread) [mysensors.sensor] child_id 2 already exists in children of node 2, cannot add child
2021-12-26 21:02:29 WARNING (MainThread) [mysensors.sensor] child_id 0 already exists in children of node 2, cannot add child
2021-12-26 21:02:29 WARNING (MainThread) [mysensors.sensor] child_id 1 already exists in children of node 2, cannot add child

Additional information

No response

About this issue

  • Original URL
  • State: closed
  • Created 3 years ago
  • Comments: 15 (5 by maintainers)

Most upvoted comments

thx for your time.