diff --git a/homeassistant/components/tplink/light.py b/homeassistant/components/tplink/light.py index 5d22b1ae60f..1e31df98af5 100644 --- a/homeassistant/components/tplink/light.py +++ b/homeassistant/components/tplink/light.py @@ -222,11 +222,11 @@ class TPLinkSmartBulb(Light): if self.smartbulb.is_dimmable: self._supported_features += SUPPORT_BRIGHTNESS - if self.smartbulb.is_variable_color_temp: + if getattr(self.smartbulb, 'is_variable_color_temp', False): self._supported_features += SUPPORT_COLOR_TEMP self._min_mireds = kelvin_to_mired( self.smartbulb.valid_temperature_range[1]) self._max_mireds = kelvin_to_mired( self.smartbulb.valid_temperature_range[0]) - if self.smartbulb.is_color: + if getattr(self.smartbulb, 'is_color', False): self._supported_features += SUPPORT_COLOR