Untitled
unknown
plain_text
a month ago
3.0 kB
3
Indexable
alias: Immersion Heater Based on Solar and Battery AIO (WIP) description: >- Turn on/off the immersion heater based on solar input and battery state of charge. mode: single triggers: - entity_id: - sensor.sigen_pv_power above: 2950 id: PV-immersion_on_threshold trigger: numeric_state - entity_id: - sensor.sigen_ess_battery_soc above: 94.8 id: Sigen_SOC-immersion_on_threshold trigger: numeric_state - entity_id: - switch.sonoff_1002417850 to: "on" id: POWR3-ON trigger: state conditions: [] actions: - choose: - conditions: - condition: trigger id: - POWR3-ON sequence: - delay: hours: 0 minutes: 0 seconds: 5 milliseconds: 0 - action: notify.mobile_app_mary_s_phone metadata: {} data: message: Immersion Heater has been turned on. - wait_template: "{{ states('sensor.sonoff_1002417850_current') | float < 1 }}" continue_on_timeout: true enabled: true - type: turn_off device_id: switch.sonoff_1002417850 entity_id: POWR3-OFF domain: switch - action: notify.mobile_app_mary_s_phone metadata: {} data: message: Immersion Heater has been turned off. - delay: hours: 1 minutes: 0 seconds: 0 milliseconds: 0 - conditions: - condition: trigger id: - Sigen_SOC-immersion_on_threshold - PV-immersion_on_threshold - condition: device type: is_off device_id: switch.sonoff_1002417850 entity_id: domain: switch - condition: numeric_state entity_id: sensor.sigen_pv_power above: 2950 - condition: numeric_state entity_id: sensor.sigen_ess_battery_soc above: 94.8 sequence: - target: entity_id: switch.sonoff_1002417850 data: {} action: switch.turn_on - action: notify.mobile_app_mary_s_phone metadata: {} data: message: Immersion Heater has been turned on. - delay: hours: 0 minutes: 0 seconds: 5 milliseconds: 0 - wait_template: "{{ states('sensor.sonoff_1002417850_current')| float < 1 }}" continue_on_timeout: true enabled: true - type: turn_off device_id: switch.sonoff_1002417850 entity_id: POWR3-OFF domain: switch - action: notify.mobile_app_mary_s_phone metadata: {} data: message: Immersion Heater has been turned off. - delay: hours: 1 minutes: 0 seconds: 0 milliseconds: 0
Editor is loading...
Leave a Comment