mirror of
https://github.com/home-assistant/core.git
synced 2025-07-29 16:17:20 +00:00
Fix discovery issue with netatmo climate devices (#33040)
This commit is contained in:
parent
fa650b648c
commit
e36bdd717a
@ -441,6 +441,11 @@ class ThermostatData:
|
|||||||
except TypeError:
|
except TypeError:
|
||||||
_LOGGER.error("ThermostatData::setup() got error")
|
_LOGGER.error("ThermostatData::setup() got error")
|
||||||
return False
|
return False
|
||||||
|
except pyatmo.exceptions.NoDevice:
|
||||||
|
_LOGGER.debug(
|
||||||
|
"No climate devices for %s (%s)", self.home_name, self.home_id
|
||||||
|
)
|
||||||
|
return False
|
||||||
return True
|
return True
|
||||||
|
|
||||||
@Throttle(MIN_TIME_BETWEEN_UPDATES)
|
@Throttle(MIN_TIME_BETWEEN_UPDATES)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user