Fix Netatmo climate (#50238)

This commit is contained in:
Tobias Sauerwein 2021-05-07 15:10:46 +02:00 committed by GitHub
parent a7ef3ec947
commit 86393bdbba
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

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]
]