Closed screem20056 closed 1 year ago
I understand you but I was just describing what I done.
I am closing this issue as I am unable to make any further progress on this. It's a very tough one as I am unable to reproduce on any of my HA installations. When there are new insights or reproduction steps in the future we can have another look.
I was finally able to fix this issue with some new insights. I am pretty sure it will but I am unable to test myself because I have no Tuya devices. Can any of you install the master branch and try again? You'll have to delete the problematic entries from the powercalc integration list and re-add them again.
Hi everyone, i think i figured out what happens, or at least i found out how i can "work around" this problem which persists in my installation too, and i am running all the latest stable versions.
For some clarity I have the same behavior from powercalc. I set up all my sensors from gui and yaml (some special devices) and when i reboot HA the energy sensors of the devices are unavailable. But not all devices. Some hue lights, Ikea lights, a sonoff intermediate switch and an apple pod mini.
BUT! When i turn off and on the device itself, the energy sensor becomes available again without the need to reload the integration. Isn't that sweet? Maybe it has something to do with how the integration re-creates the sensors on boot? Does this behavior ring any bells? Hope this helps
Hi Fantastic job as always . One issue on my side every time i restart home assistant i need to go through each entity and reload it in order to show the sensor is there a soultion for this Regards