* Issue #804 - cannot set preset when follow is activated * Release --------- Co-authored-by: Jean-Marc Collin <jean-marc.collin-extern@renault.com>
This commit is contained in:
@@ -14,6 +14,6 @@
|
|||||||
"quality_scale": "silver",
|
"quality_scale": "silver",
|
||||||
"requirements": [],
|
"requirements": [],
|
||||||
"ssdp": [],
|
"ssdp": [],
|
||||||
"version": "7.1.2",
|
"version": "7.1.3",
|
||||||
"zeroconf": []
|
"zeroconf": []
|
||||||
}
|
}
|
||||||
@@ -255,6 +255,10 @@ class ThermostatOverClimateValve(ThermostatOverClimate):
|
|||||||
self._attr_min_temp,
|
self._attr_min_temp,
|
||||||
)
|
)
|
||||||
|
|
||||||
|
self._last_regulation_change = self.now
|
||||||
|
|
||||||
|
_LOGGER.debug("%s - last_regulation_change is now: %s", self, self._last_regulation_change)
|
||||||
|
|
||||||
for under in self._underlyings_valve_regulation:
|
for under in self._underlyings_valve_regulation:
|
||||||
await under.set_valve_open_percent()
|
await under.set_valve_open_percent()
|
||||||
|
|
||||||
@@ -263,11 +267,6 @@ class ThermostatOverClimateValve(ThermostatOverClimate):
|
|||||||
"""True if the Thermostat is regulated by valve"""
|
"""True if the Thermostat is regulated by valve"""
|
||||||
return True
|
return True
|
||||||
|
|
||||||
# @property
|
|
||||||
# def hvac_modes(self) -> list[HVACMode]:
|
|
||||||
# """Get the hvac_modes"""
|
|
||||||
# return self._hvac_list
|
|
||||||
|
|
||||||
@property
|
@property
|
||||||
def valve_open_percent(self) -> int:
|
def valve_open_percent(self) -> int:
|
||||||
"""Gives the percentage of valve needed"""
|
"""Gives the percentage of valve needed"""
|
||||||
|
|||||||
@@ -635,6 +635,9 @@ class UnderlyingClimate(UnderlyingEntity):
|
|||||||
data = {
|
data = {
|
||||||
ATTR_ENTITY_ID: self._entity_id,
|
ATTR_ENTITY_ID: self._entity_id,
|
||||||
}
|
}
|
||||||
|
|
||||||
|
_LOGGER.info("%s - Set setpoint temperature to: %s", self, target_temp)
|
||||||
|
|
||||||
# Issue 807 add TARGET_TEMPERATURE only if in the features
|
# Issue 807 add TARGET_TEMPERATURE only if in the features
|
||||||
if ClimateEntityFeature.TARGET_TEMPERATURE_RANGE in self._underlying_climate.supported_features:
|
if ClimateEntityFeature.TARGET_TEMPERATURE_RANGE in self._underlying_climate.supported_features:
|
||||||
data.update(
|
data.update(
|
||||||
@@ -654,6 +657,7 @@ class UnderlyingClimate(UnderlyingEntity):
|
|||||||
)
|
)
|
||||||
|
|
||||||
self._last_sent_temperature = target_temp
|
self._last_sent_temperature = target_temp
|
||||||
|
_LOGGER.debug("%s - Last_sent_temperature is now: %s", self, self._last_sent_temperature)
|
||||||
|
|
||||||
@property
|
@property
|
||||||
def last_sent_temperature(self) -> float | None:
|
def last_sent_temperature(self) -> float | None:
|
||||||
|
|||||||
Reference in New Issue
Block a user