Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- alias: Spooky Haunted Lights
- description: Creepier, more random flickering lights with Alexa whispers & sound effects
- triggers:
- - type: value
- device_id: ce08fcfe4f7778ef05e5fdfc59fbdbad
- entity_id: 522d80ee50d838a5eed6b5eef73257a1
- domain: sensor
- trigger: device
- above: 50
- conditions: []
- actions:
- - data:
- message: >-
- <amazon:effect name="whispered">A shadow just moved... Look behind
- you.</amazon:effect> <audio
- src="soundbank://soundlibrary/magic/amzn_sfx_ghost_spooky_01"/>
- <break time="2s"/> <audio
- src="soundbank://soundlibrary/transportation/amzn_sfx_car_slam_door_1x_01"/>
- <break time="2s"/> <prosody pitch="-10%" volume="+10dB">It's right
- behind you!</prosody> <audio
- src="soundbank://soundlibrary/human/amzn_sfx_baby_cry_01"/> <break
- time="3s"/> <amazon:effect name="whispered">You're
- next...</amazon:effect> <audio
- src="soundbank://soundlibrary/monsters/ghosts_demons/ghosts_demons_15"/>
- <break time="1s"/> <audio
- src="soundbank://soundlibrary/monsters/ghosts_demons/ghosts_demons_02"/>
- <break time="2s"/> <audio
- src="soundbank://soundlibrary/magic/amzn_sfx_ghost_spooky_04"/> <audio
- src="soundbank://soundlibrary/magic/amzn_sfx_ghost_spooky_04"/>
- data:
- type: tts
- action: notify.alexa_media_ravi_s_echo_dot
- - delay: "{{ range(2, 6) | random }}"
- - repeat:
- count: "{{ range(12, 20) | random }}"
- sequence:
- - target:
- entity_id:
- - switch.bedroom_lights_bedroom_light_1
- - switch.bedroom_lights_bedroom_light_2
- - switch.bedroom_lights_bedroom_light_3
- - switch.bedroom_lights_bedroom_light_4
- data: {}
- action: switch.toggle
- - target:
- entity_id:
- - light.fan_light_1
- - light.fan_light_2
- - light.fan_light_3
- - light.fan_light_4
- data: {}
- action: light.toggle
- - target:
- entity_id: light.lamp
- data: {}
- action: light.toggle
- - delay: "{{ [0.3, 0.7, 1.2, 1.8] | random }}"
- - delay: "{{ range(1, 4) | random }}"
- - target:
- entity_id:
- - switch.bedroom_lights_bedroom_light_1
- - switch.bedroom_lights_bedroom_light_2
- - switch.bedroom_lights_bedroom_light_3
- - switch.bedroom_lights_bedroom_light_4
- action: switch.turn_off
- data: {}
- - target:
- entity_id:
- - light.fan_light_1
- - light.fan_light_2
- - light.fan_light_3
- - light.fan_light_4
- - light.lamp
- action: light.turn_off
- data: {}
- - delay: "{{ range(2, 5) | random }}"
- - data:
- message: >-
- <amazon:effect name="whispered">Oh my god! <break time="1s"/> RUN,
- NOW!</amazon:effect> <audio
- src="soundbank://soundlibrary/monsters/ghosts_demons/ghosts_demons_06"/>
- data:
- type: tts
- action: notify.alexa_media_ravi_s_echo_dot
- - delay: "{{ range(3, 7) | random }}"
- - target:
- entity_id:
- - switch.bedroom_lights_bedroom_light_1
- - switch.bedroom_lights_bedroom_light_2
- - switch.bedroom_lights_bedroom_light_3
- - switch.bedroom_lights_bedroom_light_4
- action: switch.turn_on
- data: {}
- - target:
- entity_id:
- - light.fan_light_1
- - light.fan_light_2
- - light.fan_light_3
- - light.fan_light_4
- - light.lamp
- action: light.turn_on
- data: {}
- mode: restart
Advertisement
Add Comment
Please, Sign In to add comment