EliasKotlyar / Xiaomi-Dafang-Hacks

4.18k stars 1k forks source link

Remove device name from entity #1871

Closed TheZoker closed 1 year ago

TheZoker commented 1 year ago

Maybe fixes #1870

TheZoker commented 1 year ago

After applying this change to my dafang cam and restarted HA, the error is gone and all the functions are still there. So for me this solves the issue πŸ‘

D0m3L commented 1 year ago

Works for me. Thanks.

wuzyzy commented 1 year ago

Nice! Works for me too.

stshome2 commented 1 year ago

Thank you, Works for me. After some MQTT cleaning no message in HA anymore

gerard33 commented 11 months ago

@stshome2 can you explain what MQTT cleaning you have done?

I still have the warnings in the HA log after installing the beta version and restarted HA and cleaned the MQTT topic with MQTT explorer, but the warnings stay there after every restart 😐

image

stshome2 commented 11 months ago

I used the Windows program MQTT-explorer to connect to Homeassistant. You see all the β€žoldβ€œ and β€žnewβ€œ camera entries. You can delete the old ones. After that the log should be clean. Hope it helps

gerard33 commented 11 months ago

Thanks, I already used MQTT explorer but for me there are no old and new camera entities. But after switching the camera off and on the warnings are gone.