This custom component for Home Assistant will add crucial features to your climate-controlling TRV (Thermostatic Radiator Valves) to save you the work of creating automations to make it smart. It combines a room-temperature sensor, window/door sensors, weather forecasts, or an ambient temperature probe to decide when it should call for heat and automatically calibrate your TRVs to fix the imprecise measurements taken in the radiator's vicinity.
When set_temp_target_temperature is called in my automation because one of the conditions changes and the device is already in the eco-mode due to a previous call to set_temp_target_temperature, expectedly the "eco-mode" temperature is stored as the temperature that will be restored on the next restore_saved_target_temperature call.
This behaviour is to be expected from these methods IMO, but it would be nice if automations could work around that. My suggestion is a binary_sensor for the eco-mode so an automation does not call set_temp_target_temperature twice.
Steps to Reproduce
Set thermostat to 20°
2.set_temp_target_temperature(18)
Prerequisites
Description
When
set_temp_target_temperature
is called in my automation because one of the conditions changes and the device is already in the eco-mode due to a previous call toset_temp_target_temperature
, expectedly the "eco-mode" temperature is stored as the temperature that will be restored on the nextrestore_saved_target_temperature
call.This behaviour is to be expected from these methods IMO, but it would be nice if automations could work around that. My suggestion is a binary_sensor for the eco-mode so an automation does not call
set_temp_target_temperature
twice.Steps to Reproduce
set_temp_target_temperature(18)
set_temp_target_temperature(18)
restore_saved_target_temperature()
Expected behavior:
Thermostat is set to 20°
Actual behavior:
Thermostat is set to 18°
Versions
HA 2022.9.7
BT 1.0.0-beta25
Additional Information