mirror of
https://github.com/home-assistant/core.git
synced 2025-07-25 22:27:07 +00:00
Address late review of Tankerkoenig (#68919)
This commit is contained in:
parent
7767258696
commit
3ccec8f051
@ -42,9 +42,6 @@ async def async_setup_entry(
|
|||||||
|
|
||||||
coordinator: TankerkoenigDataUpdateCoordinator = hass.data[DOMAIN][entry.unique_id]
|
coordinator: TankerkoenigDataUpdateCoordinator = hass.data[DOMAIN][entry.unique_id]
|
||||||
|
|
||||||
# Fetch initial data so we have data when entities subscribe
|
|
||||||
await coordinator.async_refresh()
|
|
||||||
|
|
||||||
stations = coordinator.stations.values()
|
stations = coordinator.stations.values()
|
||||||
entities = []
|
entities = []
|
||||||
for station in stations:
|
for station in stations:
|
||||||
|
Loading…
x
Reference in New Issue
Block a user