jdeath / Hubspace-Homeassistant

Hubspace Integration for Home Assistant
MIT License
187 stars 35 forks source link

HA controls bulbs OK but does not recognize their color etc. once set. 11A19060WRGBWH1; integration v3.0.4 #101

Closed pem884 closed 1 month ago

pem884 commented 1 month ago

I noticed very recently (in the past week?) that my two Hubspace bulbs 11A19060WRGBWH1: I can change color and brightness via HA and Hubspace app; it works fine. After I change color and/or brightness from HA, HA changes the appearance of the light to something other than what it actually is. HA does seem to "understand" whether the light is on or off, but perhaps not color/brightness(/other?) attributes.

So we have all the information in one place, it was mentioned in the HA forum that "There was an issue that brightness was not initialized yet, so this is probably similar."

_dump_hs_devices.json _dump_hs_raw.json

(edit: adding the output of TestHubspace.py in case it's more convenient) TestHubspaceOutput.json

I'm happy to help with more dumps, testing, etc.

Expl0dingBanana commented 1 month ago

I have confirmed this is an issue. I will let you know when a beta release is available with the fix

Expl0dingBanana commented 1 month ago

The root cause was how I was handling color-mode / effects. There is a fix in the branch but I am going to ensure all sequences get added, not just "custom" ones. I want to fix that issue prior to creating PR / dev release with the fix.

Expl0dingBanana commented 1 month ago

I believe this has been fixed with #102 . Please review the testing instructions within that PR and post any comments within that PR.

Expl0dingBanana commented 1 month ago

Issue resolved in #102 and was merged to main.