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:
1 parent
0d0fdb0adf
commit
a174a06e5c
1 file changed
-1
@@ -46,7 +46,6 @@ class EliqSensor(Entity):
|
||||
|
||||
self.api = api
|
||||
self.channel_id = channel_id
|
||||
self.update()
|
||||
|
||||
@property
|
||||
def name(self):
|
||||
|
||||
Reference in new issue
Block a user