Compare commits
2 Commits
7.1.3.beta
...
7.1.3.beta
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
0a13b8087d | ||
|
|
449c7b8158 |
@@ -303,10 +303,6 @@ class ValveOpenPercentSensor(VersatileThermostatBaseEntity, SensorEntity):
|
||||
"""Called when my climate have change"""
|
||||
# _LOGGER.debug("%s - climate state change", self._attr_unique_id)
|
||||
|
||||
if not self.my_climate or not hasattr(self.my_climate, "valve_open_percent"):
|
||||
_LOGGER.warning("%s - my_climate not found or no valve_open_percent property found. This could be normal at startup. Ignore the underlying device change.", self)
|
||||
return
|
||||
|
||||
old_state = self._attr_native_value
|
||||
self._attr_native_value = self.my_climate.valve_open_percent
|
||||
if old_state != self._attr_native_value:
|
||||
|
||||
@@ -833,8 +833,7 @@ class ThermostatOverClimate(BaseThermostat[UnderlyingClimate]):
|
||||
and under.last_sent_temperature is not None
|
||||
):
|
||||
_LOGGER.debug(
|
||||
"%s - Do temperature check. under.last_sent_temperature is %s, new_target_temp is %s",
|
||||
self,
|
||||
"Do temperature check. under.last_sent_temperature is %s, new_target_temp is %s",
|
||||
under.last_sent_temperature,
|
||||
new_target_temp,
|
||||
)
|
||||
|
||||
@@ -256,11 +256,8 @@ class ThermostatOverClimateValve(ThermostatOverClimate):
|
||||
)
|
||||
|
||||
self._last_regulation_change = self.now
|
||||
self.reset_last_change_time_from_vtherm()
|
||||
|
||||
_LOGGER.debug(
|
||||
"%s - last_regulation_change is now: %s and last_change_from_vtherm is now: %s", self, self._last_regulation_change, self._last_change_time_from_vtherm
|
||||
) # pylint: disable=protected-access
|
||||
_LOGGER.debug("%s - last_regulation_change is now: %s", self, self._last_regulation_change)
|
||||
|
||||
for under in self._underlyings_valve_regulation:
|
||||
await under.set_valve_open_percent()
|
||||
|
||||
Reference in New Issue
Block a user