Skip to content
Snippets Groups Projects
Commit 91e8680f authored by Robert Svensson's avatar Robert Svensson Committed by Paulus Schoutsen
Browse files

Only report color temp when in the correct color mode (#15791)

parent 6f2000f5
No related branches found
No related tags found
No related merge requests found
......@@ -99,6 +99,9 @@ class DeconzLight(Light):
@property
def color_temp(self):
"""Return the CT color value."""
if self._light.colormode != 'ct':
return None
return self._light.ct
@property
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment