mirror of
https://github.com/python-kasa/python-kasa.git
synced 2025-10-21 14:58:02 +00:00
bulb: add the temperature range to state_information, inform the user if the info is missing when calling temperature (#163)
This commit is contained in:
@@ -285,6 +285,7 @@ class SmartBulb(SmartDevice):
|
||||
} # type: Dict[str, Any]
|
||||
if self.is_variable_color_temp:
|
||||
info["Color temperature"] = self.color_temp
|
||||
info["Valid temperature range"] = self.valid_temperature_range
|
||||
if self.is_color:
|
||||
info["HSV"] = self.hsv
|
||||
|
||||
|
Reference in New Issue
Block a user