FIX #90 WarCOzes remark

This commit is contained in:
Jean-Marc Collin
2023-07-23 09:08:56 +02:00
parent fe4b9ced81
commit 5997a26c73
3 changed files with 8 additions and 4 deletions

View File

@@ -180,7 +180,7 @@ class UnderlyingSwitch(UnderlyingEntity):
if hvac_mode == HVACMode.OFF:
if self.is_device_active:
await self.turn_off()
await self._cancel_cycle()
self._cancel_cycle()
if self._hvac_mode != hvac_mode:
self._hvac_mode = hvac_mode