mirror of
https://github.com/home-assistant/core.git
synced 2025-07-24 13:47:35 +00:00
parent
7f405686d1
commit
32babd3958
@ -180,11 +180,9 @@ async def async_setup_entry(
|
|||||||
entry.entry_id
|
entry.entry_id
|
||||||
]
|
]
|
||||||
|
|
||||||
stations = coordinator.data.keys()
|
|
||||||
|
|
||||||
async_add_entities(
|
async_add_entities(
|
||||||
WeatherFlowCloudSensor(coordinator, sensor_description, station_id)
|
WeatherFlowCloudSensor(coordinator, sensor_description, station_id)
|
||||||
for station_id in stations
|
for station_id in coordinator.data
|
||||||
for sensor_description in WF_SENSORS
|
for sensor_description in WF_SENSORS
|
||||||
)
|
)
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user