From 2ca6ec02901c4d199f1f753a58b7e3044fb186ae Mon Sep 17 00:00:00 2001 From: bvweerd Date: Fri, 18 Feb 2022 23:19:18 +0100 Subject: [PATCH] Fix eq3btsmart setting HVAC modes (#66394) * Partly reverse preset incompatibility It seems like some presets are unsupported by the native climate control of Home Assistant core. This change reverts the previous preset changes causing issues. It worked perfect with simple-thermostat custom lovelace card. * Remove priority of preset above HVAC mode If a preset was available of the given command, the hvac mode change was ignored. This can result in HVAC settings are ignored. By removing the check for a preset, the preset does not supersede the HVAC mode anymore * Revert "Partly reverse preset incompatibility" This reverts commit 10fdc8eef457c369a042c631376ed33f29d0d8bf. --- homeassistant/components/eq3btsmart/climate.py | 2 -- 1 file changed, 2 deletions(-) diff --git a/homeassistant/components/eq3btsmart/climate.py b/homeassistant/components/eq3btsmart/climate.py index 44329c95eb1..d514d54aa66 100644 --- a/homeassistant/components/eq3btsmart/climate.py +++ b/homeassistant/components/eq3btsmart/climate.py @@ -167,8 +167,6 @@ class EQ3BTSmartThermostat(ClimateEntity): def set_hvac_mode(self, hvac_mode): """Set operation mode.""" - if self.preset_mode: - return self._thermostat.mode = HA_TO_EQ_HVAC[hvac_mode] @property