FIX some testus. Some others are still KO

This commit is contained in:
Jean-Marc Collin
2024-03-03 20:35:38 +00:00
parent 156d19666c
commit 15c02e9722
6 changed files with 124 additions and 109 deletions

View File

@@ -2719,3 +2719,6 @@ class BaseThermostat(ClimateEntity, RestoreEntity):
)
else:
_LOGGER.debug("No preset_modes")
if self._motion_on:
self._attr_preset_modes.append(PRESET_ACTIVITY)