Ummm made some changes back in December for christmas...commiting them for next Christmas.

This commit is contained in:
Jeffrey Stone 2022-02-24 23:32:39 -05:00
parent ba68d9f728
commit c78ef3b954
1 changed files with 145 additions and 22 deletions

View File

@ -47,10 +47,16 @@
# #
############################################################################### ###############################################################################
input_boolean:
christmas_season:
name: Christmas Season
automation: automation:
# Holiday Wishes # Holiday Wishes
- id: wishes_five_min - id: wishes_five_min
alias: Wishes Five Minute alias: Wishes Five Minute
@ -129,7 +135,7 @@ automation:
mode: single mode: single
- id: e1cb24ba-0423-11eb-adc1-0242ac120002 - id: e1cb24ba-0423-11eb-adc1-0242ac120002
alias: Disneyland Christmas Loop alias: Epcot Christmas
trigger: trigger:
- platform: state - platform: state
entity_id: input_boolean.disneyland_christmas_loop entity_id: input_boolean.disneyland_christmas_loop
@ -149,7 +155,7 @@ automation:
sequence: sequence:
- service: script.local_audio - service: script.local_audio
data: data:
media: "/media/disney/DisneylandChristmas.mp3" media: "/media/disney/EpcotChristmas.mp3"
volume: .35 volume: .35
speaker: 'media_player.ha_blue' speaker: 'media_player.ha_blue'
- conditions: - conditions:
@ -272,6 +278,42 @@ automation:
initial_state: true initial_state: true
mode: single mode: single
- id: e1cb166e-0423-11eb-adc1-0242ac120002
alias: Christmas Background
trigger:
- platform: state
entity_id: input_boolean.christmas_background
to: 'on'
from: 'off'
id: start
- platform: state
entity_id: input_boolean.christmas_background
id: stop
from: 'on'
to: 'off'
action:
- choose:
- conditions:
- condition: trigger
id: start
sequence:
- service: script.turn_on
entity_id: script.christmas_music
- conditions:
- condition: trigger
id: stop
sequence:
- service: media_player.media_stop
entity_id: media_player.ha_blue
- service: script.turn_off
entity_id: script.local_audio
- service: script.turn_off
entity_id: script.christmas_music
default: []
initial_state: true
mode: single
sensor: sensor:
- platform: rest - platform: rest
name: Halloween Countdown name: Halloween Countdown
@ -289,51 +331,132 @@ sensor:
script: script:
christmas_music:
sequence:
- service: script.local_audio
data:
media: "/media/disney/DisneyParkHoliday.mp3"
volume: .35
speaker: 'media_player.ha_blue'
- delay: 02:50:00
- service: script.local_audio
data:
media: "/media/disney/ChristmasAroundDisneyland.mp3"
volume: .35
speaker: 'media_player.ha_blue'
- delay: 04:02:00
- service: script.local_audio
data:
media: "/media/disney/EpcotChristmas.mp3"
volume: .35
speaker: 'media_player.ha_blue'
normal_xmas:
sequence:
- service: light.turn_on
target:
entity_id: light.wled_tree
data:
effect: "Solid"
brightness: 51
- service: input_number.set_value
target:
entity_id: number.wled_tree_intensity
data:
value: 255
- service: select.select_option
target:
entity_id: select.wled_tree_color_palette
data:
option: 'Color 1'
sparkle_xmas:
sequence:
- service: light.turn_on
target:
entity_id: light.wled_tree
data:
effect: "Candle Multi"
brightness: 13
- service: input_number.set_value
target:
entity_id: number.wled_tree_intensity
data:
value: 75
- service: select.select_option
target:
entity_id: select.wled_tree_color_palette
data:
option: 'Color 1'
fireworks1d_xmas: fireworks1d_xmas:
sequence: sequence:
- service: wled.effect - service: light.turn_on
target: target:
entity_id: light.wled_tree entity_id: light.wled_tree
data: data:
effect: "Fireworks 1D" effect: "Fireworks 1D"
intensity: 51 brightness: 51
- service: light.turn_on - service: input_number.set_value
target:
entity_id: number.wled_tree_intensity
data:
value: 51
- service: select.select_option
target:
entity_id: select.wled_tree_color_palette
data: data:
entity_id: light.wled_tree option: 'C9 New'
brightness: 127
blends_xmas: blends_xmas:
sequence: sequence:
- service: wled.effect - service: light.turn_on
target: target:
entity_id: light.wled_tree entity_id: light.wled_tree
data: data:
effect: "Blends" effect: "Blends"
intensity: 43 brightness: 43
- service: light.turn_on - service: input_number.set_value
target:
entity_id: number.wled_tree_intensity
data:
value: 43
- service: select.select_option
target:
entity_id: select.wled_tree_color_palette
data: data:
entity_id: light.wled_tree option: 'C9 New'
brightness: 43
aurora_xmas: aurora_xmas:
sequence: sequence:
- service: wled.effect - service: light.turn_on
target: target:
entity_id: light.wled_tree entity_id: light.wled_tree
data: data:
effect: "Aurora" effect: "Aurora"
intensity: 128
- service: light.turn_on
data:
entity_id: light.wled_tree
brightness: 255 brightness: 255
- service: input_number.set_value
target:
entity_id: number.wled_tree_intensity
data:
value: 128
- service: select.select_option
target:
entity_id: select.wled_tree_color_palette
data:
option: 'C9 New'
twinklefox_xmas: twinklefox_xmas:
sequence: sequence:
- service: wled.effect - service: light.turn_on
target: target:
entity_id: light.wled_tree entity_id: light.wled_tree
data: data:
effect: "Twinklefox" effect: "Twinklefox"
intensity: 128 brightness: 127
- service: light.turn_on - service: input_number.set_value
data: target:
entity_id: number.wled_tree_intensity
data:
value: 128
- service: select.wled_tree_color_palette
target:
entity_id: light.wled_tree entity_id: light.wled_tree
brightness: 127 data:
option: 'C9 New'