Properly show state for xy, ct color modes
See original GitHub issueDescribe the bug
We currently set the state as a static xy or ct depending on the bulb type instead of setting it to whatever mode the light is currently in. We would first need to figure out a way to get the light mode, ct or xy, from HASS then display that accordingly. A problematic issue is that I do not see any data from HASS that tells me if the device is in ct or xy/rgb mode.
Steps to Reproduce
Expected behavior
Keeping a static xy/color mode confuses apps like Hue Essentials into showing weird info.
Logs
Hardware Info:
- Architecture (Ex: x86, ARM):
- Addon version (Ex: stable or dev):
- Value of “tag_commit_or_branch” if using dev:
- OS (Ex: Windows 10, Ubuntu Buster):
- Hardware (Ex: PC, Raspberry Pi 1/2/3/Zero):
Additional context
Issue Analytics
- State:
- Created 3 years ago
- Comments:9 (3 by maintainers)
Top Results From Across the Web
Zigbee RGB bulbs XY only no HS, can't change colours - Issues
In the Philips Hue app I can group all 3 lights and change their colours together, so if I select Red they all...
Read more >Understanding Color - X-Rite
This Guide to Understanding Color is a handy educational tool and how-to guide for all things ... 7 shows the continuum of color...
Read more >Circadian Lighting [Custom Component]
Circadian Lighting lets you have set lights using color temperature, RGB, XY, or just brightness - all within the same switch.
Read more >Image Processing with Python - Data Carpentry
Colour images can be transformed to grayscale using skimage.color.rgb2gray() or, in many cases, be read as grayscale directly by passing the argument mode="L" ......
Read more >Understanding the Colour Gamut of an LCD Monitor - Eizo
In the following xy chromaticity diagram, the area shaped like an upside-down "U" surrounded by dotted lines indicates the range of colours visible...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
While I agree with you that all implementations should handle it like this, this isn’t the case. For example esphome lights will return all possible values, regardless of what mode the light is actually in.
fixed in #196