Only report color temp when in the correct color mode (#15791)
This commit is contained in:
1 parent
6f2000f5e2
commit
91e8680fc5
1 file changed
+3
@@ -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
|
||||
|
||||
Reference in new issue
Block a user