hvac_off_reason could stay at auto_start_stop when the VTherm is 'on' (hvac_mode=Heat) (#840)
Fixes #828 Co-authored-by: Jean-Marc Collin <jean-marc.collin-extern@renault.com>
This commit is contained in:
@@ -70,6 +70,10 @@ class FeatureAutoStartStopManager(BaseFeatureManager):
|
|||||||
self._auto_start_stop_level, self.name
|
self._auto_start_stop_level, self.name
|
||||||
)
|
)
|
||||||
|
|
||||||
|
# Fix an eventual incoherent state
|
||||||
|
if self._vtherm.is_on and self._vtherm.hvac_off_reason == HVAC_OFF_REASON_AUTO_START_STOP:
|
||||||
|
self._vtherm.hvac_off_reason = None
|
||||||
|
|
||||||
@overrides
|
@overrides
|
||||||
async def start_listening(self):
|
async def start_listening(self):
|
||||||
"""Start listening the underlying entity"""
|
"""Start listening the underlying entity"""
|
||||||
|
|||||||
Reference in New Issue
Block a user