Skip to content

Commit

Permalink
Clean up Weatherflow Cloud (home-assistant#124643)
Browse files Browse the repository at this point in the history
cleanup
  • Loading branch information
jeeftor authored Aug 30, 2024
1 parent 7f40568 commit 32babd3
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions homeassistant/components/weatherflow_cloud/sensor.py
Original file line number Diff line number Diff line change
Expand Up @@ -180,11 +180,9 @@ async def async_setup_entry(
entry.entry_id
]

stations = coordinator.data.keys()

async_add_entities(
WeatherFlowCloudSensor(coordinator, sensor_description, station_id)
for station_id in stations
for station_id in coordinator.data
for sensor_description in WF_SENSORS
)

Expand Down

0 comments on commit 32babd3

Please sign in to comment.