Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- alias: Halloween
- description: ""
- triggers:
- - trigger: state
- entity_id:
- - input_boolean.dummy_light1
- to: "on"
- enabled: false
- - trigger: state
- entity_id:
- - input_button.halloween_trigger_01
- conditions: []
- actions:
- - sequence:
- - action: media_player.volume_mute
- metadata: {}
- data:
- is_volume_muted: true
- target:
- entity_id: media_player.jbl_link_portable
- - action: media_player.turn_on
- metadata: {}
- data: {}
- target:
- entity_id: media_player.jbl_link_portable
- - action: light.turn_off
- metadata: {}
- data: {}
- target:
- area_id: tradgard
- - delay:
- hours: 0
- minutes: 0
- seconds: 4
- milliseconds: 0
- - action: media_player.volume_mute
- metadata: {}
- data:
- is_volume_muted: false
- target:
- entity_id: media_player.jbl_link_portable
- - parallel:
- - action: light.turn_on
- metadata: {}
- data:
- rgb_color:
- - 255
- - 255
- - 255
- brightness_pct: 100
- target:
- entity_id:
- - light.fredrik_bulb_desk
- - action: media_player.play_media
- data:
- media_content_type: music
- media_content_id: >-
- "url to music"
- target:
- entity_id: media_player.jbl_link_portable
- - delay:
- hours: 0
- minutes: 0
- seconds: 0
- milliseconds: 500
- - action: light.turn_off
- metadata: {}
- data: {}
- target:
- entity_id: light.fredrik_bulb_desk
- - delay:
- hours: 0
- minutes: 0
- seconds: 12
- milliseconds: 0
- - parallel:
- - action: light.turn_on
- metadata: {}
- data:
- rgb_color:
- - 255
- - 0
- - 0
- brightness_pct: 100
- target:
- entity_id:
- - light.fredrik_bulb_desk
- - action: media_player.play_media
- target:
- entity_id:
- - media_player.jbl_link_portable
- data:
- media_content_type: music
- media_content_id: >-
- "url to music"
- - delay:
- hours: 0
- minutes: 0
- seconds: 24
- milliseconds: 0
- - action: light.turn_off
- metadata: {}
- data: {}
- target:
- entity_id: light.fredrik_bulb_desk
- - delay:
- hours: 0
- minutes: 0
- seconds: 4
- milliseconds: 0
- - action: light.turn_on
- metadata: {}
- data:
- rgb_color:
- - 255
- - 0
- - 0
- target:
- area_id: tradgard
- enabled: false
- - action: scene.turn_on
- metadata: {}
- service: scene.turn_on
- target:
- entity_id: scene.outdoor_lights
- mode: single
Advertisement
Add Comment
Please, Sign In to add comment