_LOGGER.error("Failed to login to honeywell account %s", username)
return False
thermostats = HoneywellUSThermostat.get_devices(session)
if not thermostats:
_LOGGER.error("No thermostats found in account %s", username)
return False
After Change
return False
add_devices([HoneywellUSThermostat(client, device)
for location in client.locations_by_id.values()
for device in location.devices_by_id.values()])
return True