diff --git a/.HA_VERSION b/.HA_VERSION index 39bb5734..ca26d9ad 100644 --- a/.HA_VERSION +++ b/.HA_VERSION @@ -1 +1 @@ -2024.5.5 \ No newline at end of file +2024.6.4 \ No newline at end of file diff --git a/custom_components/givenergy_local/manifest.json b/custom_components/givenergy_local/manifest.json index 03d626d4..0e47a790 100755 --- a/custom_components/givenergy_local/manifest.json +++ b/custom_components/givenergy_local/manifest.json @@ -14,7 +14,7 @@ "aiofiles==0.8.0", "arrow==1.2.3", "crccheck==1.3.0", - "pydantic==1.10.12", + "pydantic==1.10.15", "aenum==3.1.12" ], "version": "0.0.1" diff --git a/packages/climate.yaml b/packages/climate.yaml index b4d3d8e7..f0fcf696 100644 --- a/packages/climate.yaml +++ b/packages/climate.yaml @@ -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' @@ -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' @@ -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: