-
Notifications
You must be signed in to change notification settings - Fork 50
Description
@TheJulianJES apologies if this is the wrong repo for where this issue originates, we weren't sure where best to report it or who to tag with it.
We've come up against an issue while preparing a Quirk for one of our devices.
We're using _CONSTANT_ATTRIBUTES to override color capabilities to ensure the UI representation is correct.
Everything works as expected with other ColorCapabilities but when using XY_attributes:
_CONSTANT_ATTRIBUTES = {Color.AttributeDefs.color_capabilities.id: Color.ColorCapabilities.XY_attributes}
For this one the UI still shows Color Temperature controls and options:


Our understanding of the code here is that '_color_cluster_handler.color_temp_supported' should be returning false as we're only exlicitly adding XY_attributes and therefore the UI should only be displaying Color RGB controls.
if self._color_cluster_handler.color_temp_supported: |
zha/zha/zigbee/cluster_handlers/lighting.py
Line 140 in 1d18f47
def color_temp_supported(self) -> bool: |
Is this a bug or have we missunderstood what should be happening?