mirror of
https://github.com/home-assistant/core.git
synced 2025-07-23 13:17:32 +00:00
Update the Tibber sensor at startup (#12428)
This commit is contained in:
parent
ae32d208d9
commit
b4dbfe9bbd
@ -42,7 +42,7 @@ def async_setup_platform(hass, config, async_add_devices, discovery_info=None):
|
||||
yield from home.update_info()
|
||||
dev.append(TibberSensor(home))
|
||||
|
||||
async_add_devices(dev)
|
||||
async_add_devices(dev, True)
|
||||
|
||||
|
||||
class TibberSensor(Entity):
|
||||
|
Loading…
x
Reference in New Issue
Block a user