initial commit
This commit is contained in:
@ -0,0 +1,45 @@
|
||||
---
|
||||
- alias: '[Notification] Doorbell Visitor'
|
||||
initial_state: 'true'
|
||||
trigger:
|
||||
platform: state
|
||||
entity_id: binary_sensor.doorbell_doorbell
|
||||
from: "off"
|
||||
to: "on"
|
||||
action:
|
||||
- parallel:
|
||||
- service: script.cast_camera_doorbell_nvidia
|
||||
- service: script.cast_camera_doorbell
|
||||
# - service: media_player.play_media
|
||||
# target:
|
||||
# entity_id: media_player.kitchen_max
|
||||
# data:
|
||||
# media_content_type: "music"
|
||||
# media_content_id: "/usr/share/hassio/homeassistant/www/chime.m4a"
|
||||
# - service: sonos.snapshot
|
||||
# data:
|
||||
# entity_id: all
|
||||
- service: media_player.volume_set
|
||||
target:
|
||||
entity_id:
|
||||
- media_player.living_room_1
|
||||
data:
|
||||
volume_level: 0.65
|
||||
- service: media_player.play_media
|
||||
target:
|
||||
entity_id:
|
||||
- media_player.living_room_1
|
||||
data:
|
||||
media_content_type: music
|
||||
media_content_id: http://10.10.12.12:8123/local/chime.mp3
|
||||
# - delay:
|
||||
# hours: 0
|
||||
# minutes: 0
|
||||
# seconds: 4
|
||||
# milliseconds: 0
|
||||
# - delay: '00:00:10'
|
||||
# - service: script.cast_camera_doorbell
|
||||
# - service: sonos.restore
|
||||
# data:
|
||||
# entity_id: all
|
||||
# mode: single
|
Reference in New Issue
Block a user