FIX circular call on over_climate
This commit is contained in:
@@ -51,8 +51,14 @@ input_boolean:
|
|||||||
name: Window 1
|
name: Window 1
|
||||||
icon: mdi:window-closed-variant
|
icon: mdi:window-closed-variant
|
||||||
# input_boolean to simulate the heater entity switch. Only for development environment.
|
# input_boolean to simulate the heater entity switch. Only for development environment.
|
||||||
|
fake_heater_switch3:
|
||||||
|
name: Heater 3
|
||||||
|
icon: mdi:radiator
|
||||||
|
fake_heater_switch2:
|
||||||
|
name: Heater 2
|
||||||
|
icon: mdi:radiator
|
||||||
fake_heater_switch1:
|
fake_heater_switch1:
|
||||||
name: Heater 1 (Linear)
|
name: Heater 1
|
||||||
icon: mdi:radiator
|
icon: mdi:radiator
|
||||||
fake_heater_4switch1:
|
fake_heater_4switch1:
|
||||||
name: Heater (multiswitch1)
|
name: Heater (multiswitch1)
|
||||||
|
|||||||
@@ -1203,7 +1203,6 @@ class VersatileThermostat(ClimateEntity, RestoreEntity):
|
|||||||
await under.set_hvac_mode(hvac_mode)
|
await under.set_hvac_mode(hvac_mode)
|
||||||
|
|
||||||
self._hvac_mode = hvac_mode
|
self._hvac_mode = hvac_mode
|
||||||
await self._async_control_heating(force=True)
|
|
||||||
|
|
||||||
# Ensure we update the current operation after changing the mode
|
# Ensure we update the current operation after changing the mode
|
||||||
self.reset_last_temperature_time()
|
self.reset_last_temperature_time()
|
||||||
|
|||||||
@@ -178,6 +178,7 @@ class UnderlyingSwitch(UnderlyingEntity):
|
|||||||
if hvac_mode == HVACMode.OFF:
|
if hvac_mode == HVACMode.OFF:
|
||||||
if self.is_device_active:
|
if self.is_device_active:
|
||||||
await self.turn_off()
|
await self.turn_off()
|
||||||
|
await self._thermostat._async_control_heating(force=True)
|
||||||
return
|
return
|
||||||
|
|
||||||
@property
|
@property
|
||||||
|
|||||||
Reference in New Issue
Block a user