elbowz / ha-homie

Homie integration for Home Assistant
GNU General Public License v3.0
11 stars 5 forks source link

Duplicated entities on restart #15

Open spinza opened 1 year ago

spinza commented 1 year ago

I'm getting duplicated entities on restart. Some/all entities are being duplicated. Also some of the controls are changing to sensors in the process. Example below:

Device is online but the control entities are greyed out. Some of them can be seen at the top of the sensor section just below: image

Also happening to sensors that duplicates are created: image

Example of older entity that is a number (correct): image

This is now a sensor with a different entity_id: image

spinza commented 1 year ago

@elbowz any hints on where to look. I made the change in the PR I have open but not sure how to ensure that entities consistently get linked in same way?

elbowz commented 1 year ago

I'm sorry @spinza, but I'm in vacancy until the end of August...and I totally forget this code base (it's been more than 1 year).

Of course, thanks for your effort, and contributions!!

...my useless suggestion is to rollback to the previous HA version.

p.s. I don't use this HA extension anymore, and I think it should be totally rewritten exploiting the HA MQTT Discovery features