Wie kann ich sicherstellen das der Rollladen schließt, wenn erst nach dem Trigger (sun.sun unter -5) die Bedingung (Tür geschlossen) erfüllt wird?
Code: Alles auswählen
alias: Steuerung_Balkon zu
description: Rollladen Balkontuere zu
trigger:
- platform: numeric_state
entity_id: sun.sun
below: "-5"
attribute: elevation
condition:
- condition: state
entity_id: binary_sensor.shelly_shdw_2_xxxxx_door_window
state: "off"
for:
hours: 0
minutes: 0
seconds: 30
action:
- service: cover.set_cover_position
data:
position: 0
entity_id: cover.shelly_shsw_25_xxxxx
mode: single