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:
Erik 2016-01-04 19:25:52 +01:00
parent 0d0fdb0adf
commit a174a06e5c

View File

@ -46,7 +46,6 @@ class EliqSensor(Entity):
self.api = api
self.channel_id = channel_id
self.update()
@property
def name(self):