mirror of
https://github.com/home-assistant/core.git
synced 2025-08-03 20:55:10 +02:00
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:
@@ -167,8 +167,6 @@ class EQ3BTSmartThermostat(ClimateEntity):
|
|||||||
|
|
||||||
def set_hvac_mode(self, hvac_mode):
|
def set_hvac_mode(self, hvac_mode):
|
||||||
"""Set operation mode."""
|
"""Set operation mode."""
|
||||||
if self.preset_mode:
|
|
||||||
return
|
|
||||||
self._thermostat.mode = HA_TO_EQ_HVAC[hvac_mode]
|
self._thermostat.mode = HA_TO_EQ_HVAC[hvac_mode]
|
||||||
|
|
||||||
@property
|
@property
|
||||||
|
Reference in New Issue
Block a user