Hallo,
möchte meine PV Heizsteuerung mit zwei zusätzlichen Sicherheitsabfragen steuern.
Zum einen soll nur Tagsüber die shellys auf “on” gehen
zum anderen sollen die shellys abschalten wenn:
sensor.heisswasser_tank_out oder sensor.sensor_board_tank_temp_mitte über 80 Grad gehen
oder auch über die Binarys dazu
binary_sensor.tank_temp_error_1 oder binary_sensor.tank_temp_error_2
Hier die bisherige Automation:
alias: Steuerung PV WarmWasser
description: Nutzen der PV-Überschussleistung durch selektives Schalten von Verbrauchern
trigger:
- platform: state
entity_id:
- binary_sensor.solar_uberschuss_stufe_0
attribute: position
from: above
to: below
for:
hours: 0
minutes: 0
seconds: 10
id: "0"
- platform: state
entity_id:
- binary_sensor.solar_uberschuss_stufe_1
attribute: position
to: in_range
for:
hours: 0
minutes: 0
seconds: 5
id: "1"
- platform: state
entity_id:
- binary_sensor.solar_uberschuss_stufe_2
attribute: position
from: below
for:
hours: 0
minutes: 0
seconds: 5
id: "2"
condition: []
action:
- choose:
- conditions:
- condition: trigger
id: "0"
sequence:
- service: switch.turn_off
data: {}
target:
entity_id:
- switch.shellyplus2pm_c049ef8ca49c_switch_0
- switch.shellyplus2pm_c049ef8ca49c_switch_1
- conditions:
- condition: trigger
id: "1"
sequence:
- service: switch.turn_on
data: {}
target:
entity_id:
- switch.shellyplus2pm_c049ef8ca49c_switch_0
- service: switch.turn_off
data: {}
target:
entity_id:
- switch.shellyplus2pm_c049ef8ca49c_switch_1
- conditions:
- condition: trigger
id: "2"
sequence:
- service: switch.turn_on
data: {}
target:
entity_id:
- switch.shellyplus2pm_c049ef8ca49c_switch_1
- service: switch.turn_off
data: {}
target:
entity_id:
- switch.shellyplus2pm_c049ef8ca49c_switch_0
mode: single