mirror of
https://github.com/home-assistant/core.git
synced 2025-07-27 07:07:28 +00:00
Fix Netatmo select platform setup (#64560)
This commit is contained in:
parent
fc1dc9874b
commit
954caa93b5
@ -66,12 +66,10 @@ async def async_setup_entry(
|
|||||||
NetatmoScheduleSelect(
|
NetatmoScheduleSelect(
|
||||||
data_handler,
|
data_handler,
|
||||||
home_id,
|
home_id,
|
||||||
[
|
[schedule.name for schedule in schedules.values()],
|
||||||
schedule.name
|
|
||||||
for schedule in hass.data[DOMAIN][DATA_SCHEDULES][home_id].values()
|
|
||||||
],
|
|
||||||
)
|
)
|
||||||
for home_id in hass.data[DOMAIN][DATA_SCHEDULES]
|
for home_id, schedules in hass.data[DOMAIN][DATA_SCHEDULES].items()
|
||||||
|
if schedules
|
||||||
]
|
]
|
||||||
|
|
||||||
_LOGGER.debug("Adding climate schedule select entities %s", entities)
|
_LOGGER.debug("Adding climate schedule select entities %s", entities)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user