Closed njschwartz closed 1 month ago
For anyone that cares I found a fix to this. In the switch.py file I just had to change the three lines that use self.async_schedule_update_ha_state() and remove the async part. It is something that changed with the latest HA update I guess.
These Bugs have been fix for a while, but there hasn't been a Release for over two Years. You can install the newest version by manually changing the Version in HACS to "master".
@ualex73 Could you create a new Release?
@chris-mc1 Thanks for that info. I did not know that. I will try that too. Hope it gets updated in the future as this is super useful.
These Bugs have been fix for a while, but there hasn't been a Release for over two Years. You can install the newest version by manually changing the Version in HACS to "master".
@ualex73 Could you create a new Release?
I just did release v1.15.
I released the master as v1.15. I will close this ticket, please reopen if you find another issue.
I just noticed today that my docker switch is no longer updating as expected. The switch still works to control the container, I can start or stop a contained with it as expected. However if I manually stop a container the switch remains on. I know it worked before because I had an automation that would send me a notification if a container stopped unexpectedly for some reason. I see the following error and warning in the HA debug logs:
I appreciate any suggestions or fixes ypu might have. This is a great and super useful tool for me so I hope I can get this working again. Appreciate it!