mirror of
https://github.com/home-assistant/core.git
synced 2025-07-23 21:27:38 +00:00
Fix discovery issue with netatmo climate devices (#33040)
This commit is contained in:
parent
f81464161a
commit
6ab14a3729
@ -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