Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- - id: '1593202103535'
- alias: Pushover Letter Box
- description: ''
- trigger:
- - entity_id: binary_sensor.letter_box
- from: 'off'
- platform: state
- to: 'on'
- condition:
- - condition: time
- after: 07:00:00
- before: '20:00:00'
- action:
- - service: camera.snapshot
- data:
- entity_id: camera.uniuvc1
- filename: /config/www/tmp/snapshot_camera.uniuvc1.jpg
- - service: notify.pushover
- data_template:
- data:
- attachment: /config/www/tmp/snapshot_camera.uniuvc1.jpg
- priority: 0
- sound: spacealarm
- message: You got mail at {{ now().strftime('%-I:%M:%S %p %-m/%-d/%y') }}
- title: Home Assistant - Letter Box
- - service: script.letterbox_alert
- data: {}
- mode: single
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement