HASwitchPlate / openHASP-custom-component

Home Assistant custom component for openHASP
https://www.openhasp.com
MIT License
49 stars 9 forks source link

race handling v2 #36

Closed nagyrobi closed 3 years ago

nagyrobi commented 3 years ago

for https://github.com/dgomes/hasp-lvgl-custom-component/pull/17/

nagyrobi commented 3 years ago

Now with @fvanroie's throttling it's already very effective.

nagyrobi commented 3 years ago

There should be an exception as we discussed in the other topic.

I just tested the cpicker object setting the moodlight through the component, situation is way worse than it was with the arc, as the cpicker itself seems heavy to be refreshed during setting. See video. Code is this.

Only "change" -> "val" should be filtered out.