Heatpump now works during the winter as well
This commit is contained in:
1 parent
bed50f1d09
commit
d8e604d64d
1 file changed
+9
-6
@@ -5,7 +5,9 @@ heating_sensors:
|
|||||||
|
|
||||||
sensors:
|
sensors:
|
||||||
binary_sensor.heatpump_winter_mode:
|
binary_sensor.heatpump_winter_mode:
|
||||||
trigger_conditions: false #sensor.month >= 10 or sensor.month <= 4
|
local_expressions:
|
||||||
|
temp_threshold: "self ? 20 : 15"
|
||||||
|
trigger_conditions: sensor.min_temp_outside < temp_threshold
|
||||||
value_selector.target_temperature_heatpump:
|
value_selector.target_temperature_heatpump:
|
||||||
attributes:
|
attributes:
|
||||||
unit_of_measurement: °C
|
unit_of_measurement: °C
|
||||||
@@ -14,7 +16,7 @@ heating_sensors:
|
|||||||
values:
|
values:
|
||||||
winter_mode:
|
winter_mode:
|
||||||
conditions: binary_sensor.heatpump_winter_mode
|
conditions: binary_sensor.heatpump_winter_mode
|
||||||
value: 18
|
value: input_number.heatpump_temperature_winter
|
||||||
default:
|
default:
|
||||||
conditions: True
|
conditions: True
|
||||||
value: input_number.heatpump_temperature
|
value: input_number.heatpump_temperature
|
||||||
@@ -31,10 +33,11 @@ smart_heating_templates_library:
|
|||||||
trigger_conditions:
|
trigger_conditions:
|
||||||
- "not binary_sensor.heatpump_winter_mode and (ext_temperature >= room_temperature or ext_temperature >= target_temperature or cant_open_window) and room_temperature >= (quick_resume ? target_temperature : (target_temperature + temp_threshold))"
|
- "not binary_sensor.heatpump_winter_mode and (ext_temperature >= room_temperature or ext_temperature >= target_temperature or cant_open_window) and room_temperature >= (quick_resume ? target_temperature : (target_temperature + temp_threshold))"
|
||||||
- not binary_sensor.heatpump_winter_mode and self and (ext_temperature >= target_temperature or cant_open_window)
|
- not binary_sensor.heatpump_winter_mode and self and (ext_temperature >= target_temperature or cant_open_window)
|
||||||
- binary_sensor.heatpump_winter_mode and room_temperature <= (target_temperature - 1) and ext_temperature <= 10
|
- binary_sensor.heatpump_winter_mode and room_temperature < target_temperature and ext_temperature <= target_temperature
|
||||||
- binary_sensor.heatpump_winter_mode and self and room_temperature < target_temperature
|
- binary_sensor.heatpump_winter_mode and self and room_temperature < target_temperature + 1
|
||||||
blocking_conditions:
|
blocking_conditions:
|
||||||
- binary_sensor.is_everybody_sleeping and not sleeping_in_the_room and not stay_on_while_sleeping
|
- binary_sensor.is_everybody_sleeping and not sleeping_in_the_room and not stay_on_while_sleeping
|
||||||
|
- binary_sensor.is_everybody_sleeping and binary_sensor.heatpump_winter_mode
|
||||||
- not room_occupancy and not (sleeping_in_the_room or (occupied_tonight and binary_sensor.day_interval_night))
|
- not room_occupancy and not (sleeping_in_the_room or (occupied_tonight and binary_sensor.day_interval_night))
|
||||||
- not binary_sensor.someone_home
|
- not binary_sensor.someone_home
|
||||||
- window_open
|
- window_open
|
||||||
@@ -147,7 +150,7 @@ living_room_heatpump:
|
|||||||
|
|
||||||
constants:
|
constants:
|
||||||
window_open: binary_sensor.living_room_any_window_open
|
window_open: binary_sensor.living_room_any_window_open
|
||||||
ext_temperature: sensor.ext_front_temperature
|
ext_temperature: sensor.ext_back_temperature
|
||||||
room_temperature: sensor.living_room_temperature
|
room_temperature: sensor.living_room_temperature
|
||||||
room_occupancy: binary_sensor.living_room_occupancy
|
room_occupancy: binary_sensor.living_room_occupancy
|
||||||
target_temperature: sensor.target_temperature_heatpump
|
target_temperature: sensor.target_temperature_heatpump
|
||||||
@@ -157,7 +160,7 @@ living_room_heatpump:
|
|||||||
occupied_tonight: input_boolean.living_room_occupied_tonight
|
occupied_tonight: input_boolean.living_room_occupied_tonight
|
||||||
stay_on_while_sleeping: false
|
stay_on_while_sleeping: false
|
||||||
|
|
||||||
target_temperature: sensor.target_temperature_heatpump + 0.5
|
target_temperature: "sensor.target_temperature_heatpump + (binary_sensor.heatpump_winter_mode ? 0 : 0.5)"
|
||||||
hvac_mode: "binary_sensor.heatpump_winter_mode ? 'heat' : 'cool'"
|
hvac_mode: "binary_sensor.heatpump_winter_mode ? 'heat' : 'cool'"
|
||||||
fan_mode: sensor.living_room_heatpump_fan_mode
|
fan_mode: sensor.living_room_heatpump_fan_mode
|
||||||
|
|
||||||
|
|||||||
Reference in new issue
Block a user