Hallo,
dass Licht schaltet zwar an, aber beim schließen der Tür nicht aus.
Wo liegt der Fehler?
alias: Lichtsteuerung Kellertreppe
description: ""
trigger:
- type: opened
platform: device
device_id: ed6ef63c2fcc7f9d9fe06142fb9f9f46
entity_id: 939a4acbd492a3df40a0d95d84250bd1
domain: binary_sensor
id: Tür wird geöffnet
- type: not_opened
platform: device
device_id: ed6ef63c2fcc7f9d9fe06142fb9f9f46
entity_id: 939a4acbd492a3df40a0d95d84250bd1
domain: binary_sensor
id: Tür wird geschlossen
condition: []
action:
- choose:
- conditions:
- condition: trigger
id:
- Tür wird geöffnet
sequence:
- type: turn_on
device_id: fdbac53ead8559b43285705a3bccfa8a
entity_id: 6112a369146deba1311a65b68e688f68
domain: switch
- delay:
hours: 0
minutes: 0
seconds: 30
milliseconds: 0
- type: turn_off
device_id: fdbac53ead8559b43285705a3bccfa8a
entity_id: 6112a369146deba1311a65b68e688f68
domain: switch
- conditions:
- condition: trigger
id:
- Tür wird geschlossen
sequence:
- type: turn_off
device_id: fdbac53ead8559b43285705a3bccfa8a
entity_id: 6112a369146deba1311a65b68e688f68
domain: switch
mode: single
by HarryP: Codezeilen in Code-TAG’s eingebunden.