Last method sucked. Exploring a new option for holiday animations.
This commit is contained in:
@ -68,3 +68,5 @@ powercalc:
|
|||||||
pyscript:
|
pyscript:
|
||||||
allow_all_imports: true
|
allow_all_imports: true
|
||||||
hass_is_global: true
|
hass_is_global: true
|
||||||
|
|
||||||
|
animated_scenes:
|
@ -182,32 +182,12 @@ input_select:
|
|||||||
- Nightlight
|
- Nightlight
|
||||||
initial: Select
|
initial: Select
|
||||||
icon: hue:room-dining
|
icon: hue:room-dining
|
||||||
color_swarm_area:
|
holiday_animation:
|
||||||
name: Color Swarm Area
|
name: Holiday Animation
|
||||||
options:
|
|
||||||
- Front Porch
|
|
||||||
- Living Room
|
|
||||||
- Tina Lamp
|
|
||||||
- Basement Studio
|
|
||||||
icon: mdi:palette
|
|
||||||
color_swarm_name:
|
|
||||||
name: Color Swarm Name
|
|
||||||
options:
|
options:
|
||||||
- Christmas
|
- Christmas
|
||||||
- Bright Christmas
|
|
||||||
- Casino
|
|
||||||
- Dim arcade
|
|
||||||
- Neon sea
|
|
||||||
- Ocean city
|
|
||||||
- Murder
|
|
||||||
- Purple rain
|
|
||||||
- Grad party
|
|
||||||
- USA
|
|
||||||
- Northern lights
|
|
||||||
- Summer night
|
|
||||||
- Candlelight
|
|
||||||
- Velvet rose
|
|
||||||
- Halloween
|
- Halloween
|
||||||
|
- St Patricks Day
|
||||||
icon: mdi:palette
|
icon: mdi:palette
|
||||||
|
|
||||||
input_text:
|
input_text:
|
||||||
@ -236,6 +216,28 @@ input_text:
|
|||||||
tina_lamp_selected_scene:
|
tina_lamp_selected_scene:
|
||||||
name: 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:
|
automation:
|
||||||
# The commented-out automations have been moved to Node-RED because they are easier to implement there.
|
# The commented-out automations have been moved to Node-RED because they are easier to implement there.
|
||||||
# Keeping here for reference purposes.
|
# Keeping here for reference purposes.
|
||||||
|
Reference in New Issue
Block a user