Component/platform:
tplink smart switch and non-color bulbs
Light bulb: LB100
Switch: HS100
Description of problem:
The support for tplink bulbs and switches are broken after 0.52 update.
Expected:
Problem-relevant configuration.yaml entries and steps to reproduce:
ug 26 21:35:13 hass hass[31123]: File "/srv/homeassistant/lib/python3.4/site-packages/homeassistant/components/switch/tplink.py", line 73, in turn_on
Aug 26 21:35:13 hass hass[31123]: self.smartplug.turn_on()
Aug 26 21:35:13 hass hass[31123]: File "/srv/homeassistant/lib/python3.4/site-packages/pyHS100/pyHS100.py", line 724, in turn_on
Aug 26 21:35:13 hass hass[31123]: self._query_helper("system", "set_relay_state", {"state": 1})
Aug 26 21:35:13 hass hass[31123]: File "/srv/homeassistant/lib/python3.4/site-packages/pyHS100/pyHS100.py", line 74, in _query_helper
Aug 26 21:35:13 hass hass[31123]: raise_from(SmartPlugException(), ex)
Aug 26 21:35:13 hass hass[31123]: File "/srv/homeassistant/lib/python3.4/site-packages/future/utils/__init__.py", line 398, in raise_from
Aug 26 21:35:13 hass hass[31123]: exec(execstr, myglobals, mylocals)
Aug 26 21:35:13 hass hass[31123]: File "<string>", line 1, in <module>
bulb:
Aug 26 21:33:34 hass hass[31123]: value = getattr(self, name)
Aug 26 21:33:34 hass hass[31123]: File "/srv/homeassistant/lib/python3.4/site-packages/homeassistant/components/light/tplink.py", line 146, in supported_features
Aug 26 21:33:34 hass hass[31123]: if self.smartbulb.is_color:
Aug 26 21:33:34 hass hass[31123]: File "/srv/homeassistant/lib/python3.4/site-packages/pyHS100/pyHS100.py", line 441, in is_color
Aug 26 21:33:34 hass hass[31123]: return bool(self.sys_info['is_color'])
Aug 26 21:33:34 hass hass[31123]: KeyError: 'is_color'
Home Assistant release (
hass --version
): 0.52Python release (
python3 --version
): python 3.4.2Component/platform: tplink smart switch and non-color bulbs Light bulb: LB100 Switch: HS100 Description of problem: The support for tplink bulbs and switches are broken after 0.52 update.
Expected:
Problem-relevant
configuration.yaml
entries and steps to reproduce:Traceback (if applicable):
switch
bulb: