ee02217 / homeassistant-mi-heater

Home Assistant integration for MiHeaters.
59 stars 16 forks source link

No unique ID #15

Open szekelyt opened 2 years ago

szekelyt commented 2 years ago

Hi, I'm getting the following message when I try to access the settings of the heater: This entity ('climate.zhimi_heater_mc2_64_XX_XX_XX_b7_f1') does not have a unique ID, therefore its settings cannot be managed from the UI. See the documentation for more detail. I suspect this is the reason I cannot address this entity through automation. Could help me someone with this issue? Thanks

swisslb commented 2 years ago

Same for me ... Annoying

robertomontinaro80 commented 2 years ago

Same for me too.

ghost commented 2 years ago

Hi, I'm getting this message in entities tab, but the entity appears at homekit app and It's working correctly. I think that this error only affect to the automation feature. Regards

swisslb commented 2 years ago

@ee02217 could you help us here ? it's annoying because we cannot use it in Automations. Thx a lot

ee02217 commented 2 years ago

Hi guys. As I said before, I’m not really a code expert. I tried to implemented it but did not understand how to do it and never succeeded.

I welcome anyone to change the code to support that :)

However, it’s possible to create automation with the current implementation: 271466F9-B8BE-4416-B676-B0CAD821EEA6

robertomontinaro80 commented 2 years ago

Hi guys. As I said before, I’m not really a code expert. I tried to implemented it but did not understand how to do it and never succeeded.

I welcome anyone to change the code to support that :)

However, it’s possible to create automation with the current implementation: 271466F9-B8BE-4416-B676-B0CAD821EEA6

Hi thanks for your reply. Just an information...how can I try to debug the code? So I can try to implement a solution for unique Id issue?

ee02217 commented 2 years ago

One way to do it, and I think it’s faster, is to just modify the py file in your file system and restart home assistant. It picks up the new code automatically.

zolo2hin commented 1 year ago

Guys, just add the attribute)

Screenshot 2022-09-13 at 00 13 55
ee02217 commented 1 year ago

I added the attribute suggested. I have no way of testing at the moment. Can someone confirm that the new version addresses the issue?