Fix Netatmo climate (#50238)

This commit is contained in:
Tobias Sauerwein 2021-05-07 15:10:46 +02:00 committed by Franck Nijhof
parent 193a0dfc02
commit a9bb905f05
No known key found for this signature in database
GPG Key ID: D62583BA8AB11CA3

View File

@ -651,8 +651,5 @@ def get_all_home_ids(home_data: pyatmo.HomeData) -> list[str]:
return [
home_data.homes[home_id]["id"]
for home_id in home_data.homes
if (
"therm_schedules" in home_data.homes[home_id]
and "modules" in home_data.homes[home_id]
)
if "modules" in home_data.homes[home_id]
]