Closed michbeck100 closed 1 year ago
@markbergsma Will this PR be merged?
Could you explain a bit better what you're trying to accomplish?
I didn't implement 'lastState' as in principle the Hue ZLL plugin is able to retrieve the current status of the system from the Hue API (although that isn't instant).
It looks like you're trying to break some infinite loop between pimatic-hap and pimatic-hue-zll. I don't use pimatic-hap myself so I can't easily test this. Why does this PR make a difference?
Thanks!
It doesn't make a difference anymore actually. The bug on pimatic-hap side is solved. It wasn't because of pimatic-hue-zll. Nevertheless this PR creates the same consistent behavior that all built-in devices have when getting created, they restore their last state from the pimatic database. It's up to you to merge this PR.
This PR restores the last state of some of the device classes. This hopefully fixes https://github.com/michbeck100/pimatic-hap/issues/43