Add bedroom heat pump configuration and update presence conditions for bedroom occupancy
This commit is contained in:
@@ -76,3 +76,39 @@ desk_heatpump:
|
||||
#input_buttons:
|
||||
# turn_on: input_button.clim_du_bureau_turn_on
|
||||
# turn_off: input_button.clim_du_bureau_turn_off
|
||||
|
||||
bedroom_heatpump:
|
||||
module: smartheatpump
|
||||
class: SmartHeatpump
|
||||
entity: climate.bedroom_heatpump
|
||||
|
||||
templates_library: smart_heating_templates_library
|
||||
|
||||
constants:
|
||||
window_open: binary_sensor.bedroom_french_door
|
||||
ext_temperature: sensor.ext_front_temperature
|
||||
room_temperature: sensor.bedroom_temperature
|
||||
room_occupancy: binary_sensor.bedroom_occupancy
|
||||
target_temperature: sensor.target_temperature_heatpump
|
||||
cant_open_window: false #binary_sensor.cant_open_window
|
||||
sleeping_in_the_room: binary_sensor.is_bedroom_sleeping
|
||||
quick_resume: binary_sensor.bedroom_heatpump_quick_resume
|
||||
stay_on_while_sleeping: false
|
||||
|
||||
virtual_sensors:
|
||||
sensors:
|
||||
value_selector.bedroom_heatpump_fan_mode:
|
||||
auto: binary_sensor.heatpump_winter_mode
|
||||
quiet: True
|
||||
|
||||
target_temperature: sensor.target_temperature_heatpump
|
||||
hvac_mode: "binary_sensor.heatpump_winter_mode ? 'heat' : 'cool'"
|
||||
fan_mode: sensor.bedroom_heatpump_fan_mode
|
||||
|
||||
smart_conditions:
|
||||
callback_delay: 10 # on the morning it can happen that we ask to start and stop the heat pump immediately afterwards which in result in the heat pump ignoring the second command
|
||||
template_conditions: <clim_conditions>
|
||||
|
||||
quick_resume:
|
||||
sensor: binary_sensor.bedroom_heatpump_quick_resume
|
||||
reset_event: good_morning
|
||||
|
||||
@@ -40,6 +40,9 @@ occupancy_sensors:
|
||||
trigger_conditions: sensor.kitchen_last_motion <= 5
|
||||
binary_sensor.restroom_occupancy:
|
||||
trigger_conditions: sensor.restroom_last_motion <= 3
|
||||
binary_sensor.bedroom_occupancy:
|
||||
trigger_conditions: binary_sensor.is_bedroom_sleeping or binary_sensor.day_interval_night
|
||||
blocking_conditions: not binary_sensor.someone_home
|
||||
retain_condition.desk_occupancy:
|
||||
retain_time: 5 * 60
|
||||
conditions:
|
||||
|
||||
Reference in New Issue
Block a user