Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Edit for new ASHP system #560

Merged
merged 1 commit into from
Jul 14, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
30 changes: 15 additions & 15 deletions packages/climate.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -54,17 +54,14 @@ input_boolean:

automation:
- alias: "Call for heat - demand"
id: callforheatdemand
id: turnonashp
description: >-
Turn on boiler relay if there's a call for heat
Turn on ASHP if stove is off
and all the openings are shut
trigger:
platform: time_pattern
seconds: 30
condition:
- condition: state
entity_id: group.call_for_heat
state: 'on'
- condition: state
entity_id: binary_sensor.climate_openings
state: 'off'
Expand All @@ -78,21 +75,22 @@ automation:
- condition: template
value_template: "{{ 'states.sensor.stove_temperature_living_room' != 'unknown' }}"
action:
- service: homeassistant.turn_on
entity_id: switch.boiler_valve_controls_relay_2
- service: climate.set_preset_mode
entity_id: climate.viewpoint_zone_1_circuit_0_climate
date:
hvac_mode: auto

- alias: "Call for heat - no demand"
id: callforheatnodemand
description: Turn off boiler relay if demand for heat ceases
- alias: "Turn off ASHP"
id: turnoffashp
description: >-
Turn off ASHP if stove is on
or any of the openings are open
trigger:
platform: time_pattern
seconds: 30
condition:
condition: or
conditions:
- condition: state
entity_id: group.call_for_heat
state: 'off'
- condition: state
entity_id: binary_sensor.climate_openings
state: 'on'
Expand All @@ -102,8 +100,10 @@ automation:
entity_id: sensor.stove_temperature_living_room
above: 100
action:
- service: homeassistant.turn_off
entity_id: switch.boiler_valve_controls_relay_2
- service: climate.set_preset_mode
entity_id: climate.viewpoint_zone_1_circuit_0_climate
date:
hvac_mode: off

# - alias: "Climate - Night Schedule"
# trigger:
Expand Down