diff --git a/custom_components/e_thermostaat/climate.py b/custom_components/e_thermostaat/climate.py index 21327fb..6cd3b41 100644 --- a/custom_components/e_thermostaat/climate.py +++ b/custom_components/e_thermostaat/climate.py @@ -171,6 +171,7 @@ def target_temperature(self): @property def available(self) -> bool: + """Return True if entity is available.""" return self._last_seen and datetime.datetime.now() - self._last_seen < datetime.timedelta(seconds=600) @property