add guestroom heat pump configuration and occupancy sensor
This commit is contained in:
@@ -173,3 +173,46 @@ living_room_heatpump:
|
||||
quick_resume:
|
||||
sensor: binary_sensor.living_room_heatpump_quick_resume
|
||||
reset_events: good_morning
|
||||
|
||||
guestroom_heatpump:
|
||||
module: smartheatpump
|
||||
class: SmartHeatpump
|
||||
entity: climate.guestroom_heatpump
|
||||
|
||||
templates_library: smart_heating_templates_library
|
||||
|
||||
constants:
|
||||
window_open: binary_sensor.guestroom_window
|
||||
ext_temperature: sensor.ext_front_temperature
|
||||
room_temperature: sensor.guestroom_temperature
|
||||
room_occupancy: binary_sensor.guestroom_occupancy
|
||||
target_temperature: sensor.target_temperature_heatpump
|
||||
cant_open_window: binary_sensor.is_guestroom_sleeping
|
||||
sleeping_in_the_room: binary_sensor.is_guestroom_sleeping
|
||||
quick_resume: binary_sensor.guestroom_heatpump_quick_resume
|
||||
occupied_tonight: input_boolean.guestroom_occupied_tonight
|
||||
stay_on_while_sleeping: false
|
||||
|
||||
virtual_sensors:
|
||||
sensors:
|
||||
value_selector.guestroom_heatpump_fan_mode:
|
||||
auto: binary_sensor.heatpump_winter_mode or room_temperature > target_temperature + 1
|
||||
quiet: True
|
||||
|
||||
target_temperature: sensor.target_temperature_heatpump - 0.5
|
||||
hvac_mode: "binary_sensor.heatpump_winter_mode ? 'heat' : 'cool'"
|
||||
fan_mode: sensor.guestroom_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.guestroom_heatpump_quick_resume
|
||||
reset_events: good_morning
|
||||
|
||||
control_mode_selector:
|
||||
sensor: input_select.guestroom_heatpump_override
|
||||
reset_events:
|
||||
- good_morning
|
||||
- good_bye
|
||||
@@ -56,6 +56,9 @@ occupancy_sensors:
|
||||
binary_sensor.bedroom_occupancy:
|
||||
trigger_conditions: binary_sensor.is_bedroom_sleeping or binary_sensor.day_interval_night
|
||||
blocking_conditions: not binary_sensor.someone_home
|
||||
binary_sensor.guestroom_occupancy:
|
||||
trigger_conditions: binary_sensor.is_guestroom_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