Do not call update() in constructor (#8859)

This commit is contained in:
Fabian Affolter authored and Paulus Schoutsen committed 2017-08-06 10:21:55 -07:00
1 parent ac9c1235bb
commit d8ca04a4bc
19 files changed
+43 -57

No files matched your search

+1 -1
View File
@@ -49,7 +49,7 @@ def setup_platform(hass, config, add_devices, discovery_info=None):
for variable in monitored_variables:
dev.append(OpenEVSESensor(variable, charger))
add_devices(dev)
add_devices(dev, True)
class OpenEVSESensor(Entity):