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 10fdc8eef4.
This commit is contained in:
bvweerd 2022-02-18 23:19:18 +01:00 committed by GitHub
parent 3bfc6cc756
commit 2ca6ec0290
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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