Do not call update() in constructor (#7912)
* Do not call update() in constructor * Do not call update() in constructor * Remove unused import
This commit is contained in:
parent
2b850f417e
commit
13df925795
12 changed files with 29 additions and 44 deletions
|
@ -52,7 +52,6 @@ def async_setup_platform(hass, config, async_add_devices, discovery_info=None):
|
|||
devices.append(device)
|
||||
|
||||
async_add_devices(devices, True)
|
||||
return True
|
||||
|
||||
|
||||
class TimeDateSensor(Entity):
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue