1
0

Update dorbell automation

This commit is contained in:
pgrondek 2021-05-07 01:04:17 +02:00
parent 53a87bf444
commit 0a737cf7cd

View File

@ -10,26 +10,35 @@
- service: notify.notify
data:
message: "Doorbell"
- service: media_player.media_pause
target:
entity_id:
- media_player.bathroom
- media_player.bedroom
- media_player.living_room
- media_player.nvidia_shield
- media_player.spotify_11175365349
- media_player.nvidia_shield
- service: light.turn_on
data:
brightness: 200
rgb_color:
- 49
- 27
- 146
entity_id: light.computer_lights
- service: light.turn_on
effect: Police
entity_id: light.desk_lightbar_ambilight
- service: zwave.set_config_parameter
data:
flash: long
brightness: 200
rgb_color:
- 49
- 27
- 146
entity_id: light.computer_lights
node_id: 12
parameter: 7
value: 'Door bell music'
- service: switch.turn_on
entity_id: switch.siren_switch
- delay: '30'
- service: light.turn_on
data:
hs_color: [ 240,100 ]
entity_id: light.desk_lightbar_ambilight
- delay: '5'
- service: light.turn_off
entity_id: light.computer_lights
entity_id: light.desk_lightbar_ambilight
- id: hallway-doorbell-burn-prevention
alias: '[Hallway] Doorbell burn prevention'
mode: restart