Last method sucked. Exploring a new option for holiday animations.
This commit is contained in:
@ -67,4 +67,6 @@ powercalc:
|
||||
|
||||
pyscript:
|
||||
allow_all_imports: true
|
||||
hass_is_global: true
|
||||
hass_is_global: true
|
||||
|
||||
animated_scenes:
|
@ -182,32 +182,12 @@ input_select:
|
||||
- Nightlight
|
||||
initial: Select
|
||||
icon: hue:room-dining
|
||||
color_swarm_area:
|
||||
name: Color Swarm Area
|
||||
options:
|
||||
- Front Porch
|
||||
- Living Room
|
||||
- Tina Lamp
|
||||
- Basement Studio
|
||||
icon: mdi:palette
|
||||
color_swarm_name:
|
||||
name: Color Swarm Name
|
||||
holiday_animation:
|
||||
name: Holiday Animation
|
||||
options:
|
||||
- Christmas
|
||||
- Bright Christmas
|
||||
- Casino
|
||||
- Dim arcade
|
||||
- Neon sea
|
||||
- Ocean city
|
||||
- Murder
|
||||
- Purple rain
|
||||
- Grad party
|
||||
- USA
|
||||
- Northern lights
|
||||
- Summer night
|
||||
- Candlelight
|
||||
- Velvet rose
|
||||
- Halloween
|
||||
- St Patricks Day
|
||||
icon: mdi:palette
|
||||
|
||||
input_text:
|
||||
@ -236,6 +216,28 @@ input_text:
|
||||
tina_lamp_selected_scene:
|
||||
name: Tina Lamp Selected Scene
|
||||
|
||||
switch:
|
||||
- platform: animated_scenes
|
||||
name: Christmas
|
||||
restore: False
|
||||
restore_power: False
|
||||
ignore_off: False
|
||||
lights:
|
||||
- light.front_porch_light
|
||||
colors:
|
||||
- color_type: rgb_color
|
||||
color: [255,0,0]
|
||||
brightness: 255
|
||||
- color_type: rgb_color
|
||||
color: [0,255,0]
|
||||
brightness: 255
|
||||
transition: 10
|
||||
change_frequency: 60
|
||||
change_amount: all
|
||||
change_sequence: True
|
||||
animate_brightness: True
|
||||
animate_color: True
|
||||
|
||||
automation:
|
||||
# The commented-out automations have been moved to Node-RED because they are easier to implement there.
|
||||
# Keeping here for reference purposes.
|
||||
|
Reference in New Issue
Block a user