Update eliqonline.py
This commit is contained in:
parent
66f12afbb1
commit
82cd2f4ed6
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue