Last method sucked. Exploring a new option for holiday animations.

This commit is contained in:
2022-11-27 16:51:25 -05:00
parent 72a1d9c248
commit e0fbe099e3
2 changed files with 28 additions and 24 deletions

View File

@ -68,3 +68,5 @@ powercalc:
pyscript:
allow_all_imports: true
hass_is_global: true
animated_scenes:

View File

@ -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.