FIX #159 - Doesn't send target temp if VTherm is off

This commit is contained in:
Jean-Marc Collin
2023-12-20 19:06:34 +00:00
parent 707f40d406
commit 27a267139f
2 changed files with 12 additions and 2 deletions

View File

@@ -136,6 +136,11 @@ class ThermostatOverClimate(BaseThermostat):
async def _send_regulated_temperature(self, force=False):
"""Sends the regulated temperature to all underlying"""
if self.hvac_mode == HVACMode.OFF:
_LOGGER.debug("%s - don't send regulated temperature cause VTherm is off ")
return
_LOGGER.info(
"%s - Calling ThermostatClimate._send_regulated_temperature force=%s",
self,