Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- - alias: Lys tændes udenfor
- initial_state: 'on'
- trigger:
- platform: state
- entity_id: switch.kontakt_terrasse
- to: 'on'
- action:
- - service: notify.mobile_app_jacob
- data:
- message: 'Kl: {{ now().strftime("%H:%M") }}'
- title: "Lys ude tændt"
- - alias: Lys slukkes udenfor
- initial_state: 'on'
- trigger:
- platform: state
- entity_id: switch.kontakt_terrasse
- to: 'off'
- action:
- - service: notify.mobile_app_jacob
- data:
- message: 'Kl: {{ now().strftime("%H:%M") }}'
- title: "Lys ude slukket"
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement