Handle disconnected ecobee thermostat in humidifier and remote sensors (#51873)
This commit is contained in:
parent
c0a0c8b283
commit
c149ecf2cc
5 changed files with 19 additions and 1 deletions
|
@ -69,6 +69,11 @@ class EcobeeHumidifier(HumidifierEntity):
|
|||
"model": model,
|
||||
}
|
||||
|
||||
@property
|
||||
def available(self):
|
||||
"""Return if device is available."""
|
||||
return self.thermostat["runtime"]["connected"]
|
||||
|
||||
async def async_update(self):
|
||||
"""Get the latest state from the thermostat."""
|
||||
if self.update_without_throttle:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue