elden1337 / hass-peaqhvac

Home Assistant custom component to help hvac-systems stay below peak hourly energy levels and prioritize cheap hours to heat your home.
Other
7 stars 2 forks source link

Add aux-water heat service #108

Closed elden1337 closed 2 months ago

elden1337 commented 2 months ago

Use this script as template:

alias: Nibe - short water boost
sequence:
  - choose:
      - conditions:
          - condition: numeric_state
            entity_id: >-
              sensor.f730_cu_3x400v_magnus_nibef_f730_cu_3x400v_hot_water_charging_bt6
            below: 40
        sequence:
          - service: switch.turn_on
            target:
              entity_id: switch.f730_cu_3x400v_magnus_nibef_f730_cu_3x400v_temporary_lux
            data: {}
          - wait_template: >-
              {{states.sensor.f730_cu_3x400v_magnus_nibef_f730_cu_3x400v_hot_water_charging_bt6.state|float
              >= 40}}
            continue_on_timeout: true
            timeout: "1200"
          - service: switch.turn_off
            target:
              entity_id: switch.f730_cu_3x400v_magnus_nibef_f730_cu_3x400v_temporary_lux
            data: {}
    default:
      - service: switch.turn_on
        target:
          entity_id: switch.f730_cu_3x400v_magnus_nibef_f730_cu_3x400v_temporary_lux
        data: {}
      - delay:
          hours: 0
          minutes: 20
          seconds: 0
          milliseconds: 0
      - service: switch.turn_off
        target:
          entity_id: switch.f730_cu_3x400v_magnus_nibef_f730_cu_3x400v_temporary_lux
        data: {}
mode: single
icon: mdi:water-boiler