mirror of
https://github.com/home-assistant/core.git
synced 2025-07-08 05:47:10 +00:00
Update eliqonline.py
This commit is contained in:
parent
82cd2f4ed6
commit
5576649d60
@ -73,5 +73,5 @@ class EliqSensor(Entity):
|
|||||||
try:
|
try:
|
||||||
response = self.api.get_data_now(channelid=self.channel_id)
|
response = self.api.get_data_now(channelid=self.channel_id)
|
||||||
self._state = int(response.power)
|
self._state = int(response.power)
|
||||||
except TypeError: # raised by eliqonline library on any HTTP error
|
except TypeError: # raised by eliqonline library on any HTTP error
|
||||||
pass
|
pass
|
||||||
|
Loading…
x
Reference in New Issue
Block a user