From e0fbe099e36720f5c287365eb9af4d24f6216d1b Mon Sep 17 00:00:00 2001 From: Tony Stork Date: Sun, 27 Nov 2022 16:51:25 -0500 Subject: [PATCH] Last method sucked. Exploring a new option for holiday animations. --- packages/integrations.yaml | 4 +++- packages/lighting.yaml | 48 ++++++++++++++++++++------------------ 2 files changed, 28 insertions(+), 24 deletions(-) diff --git a/packages/integrations.yaml b/packages/integrations.yaml index 09640aa..12d3bbb 100644 --- a/packages/integrations.yaml +++ b/packages/integrations.yaml @@ -67,4 +67,6 @@ powercalc: pyscript: allow_all_imports: true - hass_is_global: true \ No newline at end of file + hass_is_global: true + +animated_scenes: \ No newline at end of file diff --git a/packages/lighting.yaml b/packages/lighting.yaml index 66c6c01..dc33041 100644 --- a/packages/lighting.yaml +++ b/packages/lighting.yaml @@ -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.