mirror of
https://github.com/home-assistant/core.git
synced 2025-07-16 17:57:11 +00:00
No need to call update() here
This also fixes a problem where the sensor is left uninitialized when the energy meter temporarily has lost connection with the hub. This caused the ELIQ Online server to return HTTP error 400: "user have no current power data", which in turn caused the used eliq library to fail during JSON parsing (issue reported).
This commit is contained in:
parent
0d0fdb0adf
commit
a174a06e5c
@ -46,7 +46,6 @@ class EliqSensor(Entity):
|
||||
|
||||
self.api = api
|
||||
self.channel_id = channel_id
|
||||
self.update()
|
||||
|
||||
@property
|
||||
def name(self):
|
||||
|
Loading…
x
Reference in New Issue
Block a user