Code:
alias: Alexa Balkontür
description: ""
trigger:
- platform: time_pattern
minutes: /2
condition:
- condition: time
after: "20:00:00"
- condition: device
device_id: 52872685970c08cbfbac1d74304c8d38
domain: cover
entity_id: cover.balkontur
type: is_open
- condition: time
before: "20:10:00"
action:
- service: media_player.volume_set
data:
volume_level: 1
target:
device_id: 3ff48fa141955e1d65605fa55537e450
enabled: false
- service: notify.alexa_media_alexa_stube
data:
message: Die Balkontür steht offen !
data:
type: tts
mode: single