Closed Marcocanc closed 1 year ago
I'm currently rewriting some part of the code to be more generic, I will take this into account
Can you please test: https://github.com/gvigroux/hon/tree/Full-rework There are now 2 generic services for lights. I don't have lights so I don't know if it works :)
Awesome, will try to give it a try this evening
I've updated the main branch with the code. Tell me if it works
I'm closing this issue (should work). Please reopen in case it still exists :)
I'm currently using this integration with the Haier Wine cooler, primarily to control its light. I have wrapped a template light around the service and sensors, however the status is not immediately updated after changing its state which results in the switch flicking back until the next polling request which makes it reflect the correct state. It would be great if the integration could trigger an extra status query after calling the service or alternatively assume an optimistic temporary state until the next request is done via polling.
This is the template code I'm using: