Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Color bulbs stopped working in 0.9.16 #238

Closed
scheeni opened this issue Jan 2, 2024 · 2 comments
Closed

Color bulbs stopped working in 0.9.16 #238

scheeni opened this issue Jan 2, 2024 · 2 comments
Labels
bug Something isn't working

Comments

@scheeni
Copy link

scheeni commented Jan 2, 2024

I was on version 0.9.8 and upgraded to version 0.9.16 via HACS. After the upgrade my bulbs would only turn on or off. All the color information was gone. When I looked at the attributes of the color bulb in Home Assistant I saw color_mode = "RGB" (instead of color_mode = "hs") and attributes such as rgb_color were null. This is for color bulbs that allow setting both color temperature and RGB values.

I downgraded to 0.9.8 manually and everything is back to the way it was (attributes from 0.9.8 reproduced below):

data: object
entity_id: "light.guest_hallway_color_bulbs"
state: true
attributes: object
min_color_temp_kelvin: 2000
max_color_temp_kelvin: 6535
min_mireds: 153
max_mireds: 500
supported_color_modes: array[2]
0: "color_temp"
1: "hs"
color_mode: "hs"
brightness: 38
color_temp_kelvin: null
color_temp: null
hs_color: array[2]
0: 0
1: 97
rgb_color: array[3]
0: 255
1: 7
2: 7
xy_color: array[2]
friendly_name: "Guest Hallway Color Bulbs"
supported_features: 19
last_changed: "2024-01-02T06:07:44.484900+00:00"

@jason0x43 jason0x43 added the bug Something isn't working label Jan 2, 2024
@jason0x43
Copy link
Owner

I believe the issue was with how bulb color modes were being reported. They were returning ColorMode.RGB instead of ColorMode.HS. This is fixed in v0.9.17.

@scheeni
Copy link
Author

scheeni commented Jan 3, 2024

I can confirm that color bulbs work again. Thank you!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants