Update eliqonline.py

This commit is contained in:
Erik 2016-01-04 21:31:42 +01:00
parent 66f12afbb1
commit 82cd2f4ed6

View file

@ -73,5 +73,5 @@ class EliqSensor(Entity):
try:
response = self.api.get_data_now(channelid=self.channel_id)
self._state = int(response.power)
except:
except TypeError: # raised by eliqonline library on any HTTP error
pass