TP-Link Integration: Support for KL430 LED Light Strip

Confirmed I was able to make backgrounds optional and the command sent correctly without it. Confirmed custom Flicker works.

Also, If somebody wants all the preconfigured effects, I can paste them in here. The problem with calling TP link effects is they call at 100% and even if you send a command immediately behind it, the effect can be blinding. Because there’s only a few of them and we’ve got the data dump, I’m just recreating them at a 25% and slower (I always thought the default effects ran too fast). If anybody wants it, I’ll be happy to share.

I made a pretty good ‘red alert’ script that has a nightrider type effect. Good for doorbell and siren notifications.

Hello,

There is a a limitation in the random seed of 100 but in one of the data dumps, it sends 600 for lightning > throws an error. I dropped it down to 100 and the effect still worked.

1 Like

ok last thing on these lights, I swear. This is a tangential question that I think you might be able to just answer/clarify for me based on your knowledge of the commands.

As far as I know, the transition and flash for the Light: turn off service has never worked for the KL430’s. They just turn off immediately and don’t do the long or short flash.

I was wondering if this was a limitation of the lights/code or is this a bug? All my other TP link lights do it except the KL430’s and was just wondering if it was a KL430 specific thing or if there was a gap in communication. We had a fade off feature for KL430s with HE and I recall it being VERY spotty with the KL430s. I always assumed it was Hubitat’s performance/communication causing it.

I only ask this because I see the transition field for the effect (and I’m sure these two things are different) but it made me suspicious if there was truly already an existing gap in the lights functions.

There is some discussion in the original PR here Add support for lightstrips (KL430) by rytilahti · Pull Request #74 · python-kasa/python-kasa · GitHub

It looks like set_light_state had to be used since there was trouble getting transitions working.

All of this stuff is guess work since we don’t have TPLink’s help so there may be a solution but it would need to be found via trial and error.

1 Like

Confirmed this is in and works. Thanks!

1 Like

Ok, I have the kl430 now and was hoping I could set it up where different segments represented different sensors. However, that doesn’t seem possible. There are sequence_effect and random_effect services, but they aren’t what I want. I want something more like the color painting in the app where I can set each segment to a specific color. Am I just missing that somewhere?

We could probably add support for the color painting if someone can provide dumps of the messages sent using the kasa app.

I’ll try to find time to set that up and capture it.

Hello,

Asking this here because I think I’m in the presence of people who know. I created scripts for each of the built in effects and put them in this handy dandy rotary wheel:
2022-08-01 19_38_05-Greenshot.
Thanks to you, I’ve built some annoying lighting easter eggs in my home.

I’ve learned how to create my own effects with scripted buttons and all of this is 100% rock solid. Here is one for example:

alias: Accent Lights - Aurora
sequence:
  - service: tplink.sequence_effect
    target:
      entity_id:
        - light.kitchen_island_leds
        - light.kitchen_leds
        - light.kitchen_over_cabinet_1_leds
        - light.kitchen_over_cabinet_2_leds
        - light.kitchen_under_cabinet_1_leds
        - light.kitchen_under_cabinet_2_leds
        - light.big_tv_leds
        - light.living_room_end_table_1_leds
        - light.living_room_end_table_2_leds
        - light.living_room_end_table_3_leds
        - light.living_room_end_table_4_leds
        - light.bar_leds
        - light.buffet_leds
        - light.bedroom_bed_leds
        - light.bedroom_bureau_leds
        - light.bedroom_dresser_leds
        - light.bedroom_nightstand_1_leds
        - light.bedroom_nightstand_2_leds
        - light.bedroom_2_bed_leds
        - light.bedroom_2_dresser_leds
        - light.bedroom_2_leds
        - light.bedroom_2_nightstand_1_leds
        - light.bedroom_2_nightstand_2_leds
        - light.office_desk_leds
        - light.office_leds
        - light.bathroom_2_leds
        - light.bathroom_1_leds
        - light.media_room_leds
        - light.media_room_table_leds
        - light.downstairs_bathroom_leds
        - light.downstairs_tv_leds
        - light.downstairs_media_leds
        - light.garage_entryway_leds
        - light.front_entryway_hall_tree_1_leds
        - light.front_entryway_hall_tree_2_leds
        - light.bubble_wall_light
        - light.media_room_fireplace_leds
        - light.sky_butthole
    data:
      sequence:
        - - 120
          - 100
          - 25
        - - 240
          - 100
          - 25
        - - 260
          - 100
          - 25
        - - 280
          - 100
          - 25
      brightness: 25
      transition: 6000
      spread: 7
      direction: 4
mode: single
icon: mdi:weather-night

I have ALL the scripts set up to send to ALL lights. This was a choice to get the entire house to do what I wanted, complete testing, and provide a foundational basis for what’s to come.

I will need to separate these out into rooms or groups of lights…That’s a LOT of buttons. Is there a way that I can just have the contents of this script teed up and somehow tell home assistant on demand which room/groups of lights to send the effect criteria to?

I’m perfectly willing to copy all this out a dozen times and separate it into rooms (even if it creates 1400 buttons) but I’m just wondering if there’s some other way to achieve this that I’m not aware of.

I guess what I envision is the script and then a dropdown or selector for a room or group of devices and firing at that group only. Can I do that somehow?

For one you could start grouping your LED strips to light groups (Group - Home Assistant) to enable controlling specific set of lights using a single entity. On top of that, you can assign “areas” for the entities, enabling you to execute service calls for example only on lights in the living room (Service Calls - Home Assistant).

After grouping the lights, you could create a a dropdown (select) helper that contains the groups (Input Select - Home Assistant) and create a script that gets executed with the value of that select as the target when clicking a button. I haven’t experimented myself much with those helpers, but I hope this will give you some ideas how to approach the problem :slight_smile:

1 Like

Fair on the light groupings. I DO have them all grouped out, I just did the initial one like that so it would make the subsequent copies easy (by removing the ones I didn’t want). So I think I’m good there. All devices assigned to an area, I have that.

Pointing services calls at an area? well no, I haven’t ventured into that yet. I knew it was available but haven’t played with it at all. It sounds like this is the missing piece I need to then point the effect script where ever i want.

Thank you for the tip, I will try to get this cooking.

Oh hey, im new here.
I’ve been looking for the same functionality as @kicker10BOG

I’m really desperate for this feature and im willing to help.
What exactly can i do to help get this done? I would need detailed steps on how to “dump messages from the kasa app”.

Additional to the messages of the kasa app, do you guys also want/need screenshots of the color painting functionality how the kasa app handles the color-setup for the segments?

cheers

Depends on your setup and how you’d be able to monitor/dump the data because you’re basically monitoring traffic between the kasa app and the device.

In my case, I set up Wireshark outside of home assistant and it allowed me to isolate the traffic to the device in question. Then press the buttons in kasa to send the commands and Wireshark will grab them. Then get that info in the hands of a dev and they can map it.

Screenshots may help but they’re probably going to use something standardized (I know govee has color painting). When I get to a computer, I can go over the exact steps. I might still have it set up to do this.

1 Like

Just wanted to throw this in for anyone looking for solutions for the ‘Effects’ list…

I recently picked up a set of the Kasa KL400L5 LED Strips and wanted to find a custom card that auto-magically showed me, and allowed me to control, the ‘Effects List’ without having to create individual scripts for each. Turns out that I already had one setup - enter ljmerza’s “Light Entity Card” (link and screenshot below).

It doesn’t work perfectly, but it does allow me to control a decent amount of the LEDs’ options. As you will see from the screenshot, there are a number of slides to control things like speed, white value, color temp, and brightness - well, I have only been able to get the brightness controls to work as I believe the other options need to be manually called.

Note: I have not added any custom ‘Effects’ in the Kasa App so I can’t confirm or deny if they show up in the “Light Entity Card’s” dropdown menu.

2 Likes

Just wanted to throw this out there as well - while it is NOT a solution for a way to easily select one of the ‘Effects’, it IS a great way to display and select an ‘Effect’.

In this example, I created Scripts to call for each ‘Effect’, then used the ‘RGB Light Card’ to show the icons for each ‘Effect’. The icons were extracted from a screenshot I took on my iPhone and then formatted into icons. I have attached links for all custom cards used, as well as the ‘Effect’ icon files. I am also including the code that I used to create this card.


Screenshot:
Kasa LED Light Strip Effects


Cards Used:


Icons:


Code:

type: custom:vertical-stack-in-card
styles:
  background: none
cards:
  - type: entities
    show_header_toggle: false
    entities:
      - type: custom:text-divider-row
        text: Kasa LED Light Strip Effects
        align: left
      - type: custom:rgb-light-card
        entity: light.[YOUR KASA LED LIGHT STRIP ENTITY ID HERE]
        justify: around
        label_size: 8
        colors:
          - type: call-service
            label: Aurora
            service: script.turn_on
            service_data:
              entity_id: script.[YOUR SCRIPT ENTITY ID HERE]
            icon_color: center/100% url('/local/[YOUR IMAGE FOLDER HERE]/[YOUR IMAGE SUB-FOLDER HERE]/aurora.png')
          - type: call-service
            label: Bubbling
            service: script.turn_on
            service_data:
              entity_id: script.[YOUR SCRIPT ENTITY ID HERE]
            icon_color: center/100% url('/local/[YOUR IMAGE FOLDER HERE]/[YOUR IMAGE SUB-FOLDER HERE]/bubbling.png')
          - type: call-service
            label: Candy Cane
            service: script.turn_on
            service_data:
              entity_id: script.[YOUR SCRIPT ENTITY ID HERE]
            icon_color: center/100% url('/local/[YOUR IMAGE FOLDER HERE]/[YOUR IMAGE SUB-FOLDER HERE]/candycane.png')
          - type: call-service
            label: Christmas
            service: script.turn_on
            service_data:
              entity_id: script.[YOUR SCRIPT ENTITY ID HERE]
            icon_color: center/100% url('/local/[YOUR IMAGE FOLDER HERE]/[YOUR IMAGE SUB-FOLDER HERE]/christmas.png')
          - type: call-service
            label: Flicker
            service: script.turn_on
            service_data:
              entity_id: script.[YOUR SCRIPT ENTITY ID HERE]
            icon_color: center/100% url('/local/[YOUR IMAGE FOLDER HERE]/[YOUR IMAGE SUB-FOLDER HERE]/flicker.png')
          - type: call-service
            label: Hannukah
            service: script.turn_on
            service_data:
              entity_id: script.[YOUR SCRIPT ENTITY ID HERE]
            icon_color: center/100% url('/local/[YOUR IMAGE FOLDER HERE]/[YOUR IMAGE SUB-FOLDER HERE]/hannukah.png')
          - type: call-service
            label: Haunted
            service: script.turn_on
            service_data:
              entity_id: script.[YOUR SCRIPT ENTITY ID HERE]
            icon_color: center/100% url('/local/[YOUR IMAGE FOLDER HERE]/[YOUR IMAGE SUB-FOLDER HERE]/hauntedmansion.png')
  - type: entities
    show_header_toggle: false
    entities:
      - type: custom:rgb-light-card
        entity: light.[YOUR KASA LED LIGHT STRIP ENTITY ID HERE]
        justify: around
        label_size: 8
        colors:
          - type: call-service
            label: Icicle
            service: script.turn_on
            service_data:
              entity_id: script.[YOUR SCRIPT ENTITY ID HERE]
            icon_color: center/100% url('/local/[YOUR IMAGE FOLDER HERE]/[YOUR IMAGE SUB-FOLDER HERE]/icicle.png')
          - type: call-service
            label: Lightning
            service: script.turn_on
            service_data:
              entity_id: script.[YOUR SCRIPT ENTITY ID HERE]
            icon_color: center/100% url('/local/[YOUR IMAGE FOLDER HERE]/[YOUR IMAGE SUB-FOLDER HERE]/lightning.png')
          - type: call-service
            label: Ocean
            service: script.turn_on
            service_data:
              entity_id: script.[YOUR SCRIPT ENTITY ID HERE]
            icon_color: center/100% url('/local/[YOUR IMAGE FOLDER HERE]/[YOUR IMAGE SUB-FOLDER HERE]/ocean.png')
          - type: call-service
            label: Rainbow
            service: script.turn_on
            service_data:
              entity_id: script.[YOUR SCRIPT ENTITY ID HERE]
            icon_color: center/100% url('/local/[YOUR IMAGE FOLDER HERE]/[YOUR IMAGE SUB-FOLDER HERE]/rainbow.png')
          - type: call-service
            label: Raindrops
            service: script.turn_on
            service_data:
              entity_id: script.[YOUR SCRIPT ENTITY ID HERE]
            icon_color: center/100% url('/local/[YOUR IMAGE FOLDER HERE]/[YOUR IMAGE SUB-FOLDER HERE]/raindrops.png')
          - type: call-service
            label: Spring
            service: script.turn_on
            service_data:
              entity_id: script.[YOUR SCRIPT ENTITY ID HERE]
            icon_color: center/100% url('/local/[YOUR IMAGE FOLDER HERE]/[YOUR IMAGE SUB-FOLDER HERE]/spring.png')
          - type: call-service
            label: Valentines
            service: script.turn_on
            service_data:
              entity_id: script.[YOUR SCRIPT ENTITY ID HERE]
            icon_color: center/100% url('/local/[YOUR IMAGE FOLDER HERE]/[YOUR IMAGE SUB-FOLDER HERE]/valentines.png')
  - type: entities
    show_header_toggle: false
    entities:
      - type: custom:rgb-light-card
        entity: light.[YOUR KASA LED LIGHT STRIP ENTITY ID HERE]
        justify: around
        size: 50
        colors:
          - type: call-service
            label: Aurora
            service: script.turn_on
            service_data:
              entity_id: script.[YOUR SCRIPT ENTITY ID HERE]
            icon_color: center/100% url('/local/[YOUR IMAGE FOLDER HERE]/[YOUR IMAGE SUB-FOLDER HERE]/aurora.png')
          - type: call-service
            label: Bubbling
            service: script.turn_on
            service_data:
              entity_id: script.[YOUR SCRIPT ENTITY ID HERE]
            icon_color: center/100% url('/local/[YOUR IMAGE FOLDER HERE]/[YOUR IMAGE SUB-FOLDER HERE]/bubbling.png')
          - type: call-service
            label: Candy Cane
            service: script.turn_on
            service_data:
              entity_id: script.[YOUR SCRIPT ENTITY ID HERE]
            icon_color: center/100% url('/local/[YOUR IMAGE FOLDER HERE]/[YOUR IMAGE SUB-FOLDER HERE]/candycane.png')
          - type: call-service
            label: Christmas
            service: script.turn_on
            service_data:
              entity_id: script.[YOUR SCRIPT ENTITY ID HERE]
            icon_color: center/100% url('/local/[YOUR IMAGE FOLDER HERE]/[YOUR IMAGE SUB-FOLDER HERE]/christmas.png')
          - type: call-service
            label: Flicker
            service: script.turn_on
            service_data:
              entity_id: script.[YOUR SCRIPT ENTITY ID HERE]
            icon_color: center/100% url('/local/[YOUR IMAGE FOLDER HERE]/[YOUR IMAGE SUB-FOLDER HERE]/flicker.png')
          - type: call-service
            label: Hannukah
            service: script.turn_on
            service_data:
              entity_id: script.[YOUR SCRIPT ENTITY ID HERE]
            icon_color: center/100% url('/local/[YOUR IMAGE FOLDER HERE]/[YOUR IMAGE SUB-FOLDER HERE]/hannukah.png')
          - type: call-service
            label: Haunted
            service: script.turn_on
            service_data:
              entity_id: script.[YOUR SCRIPT ENTITY ID HERE]
            icon_color: center/100% url('/local/[YOUR IMAGE FOLDER HERE]/[YOUR IMAGE SUB-FOLDER HERE]/hauntedmansion.png')
  - type: entities
    show_header_toggle: false
    entities:
      - type: custom:rgb-light-card
        entity: light.[YOUR KASA LED LIGHT STRIP ENTITY ID HERE]
        justify: around
        size: 50
        colors:
          - type: call-service
            label: Icicle
            service: script.turn_on
            service_data:
              entity_id: script.[YOUR SCRIPT ENTITY ID HERE]
            icon_color: center/100% url('/local/[YOUR IMAGE FOLDER HERE]/[YOUR IMAGE SUB-FOLDER HERE]/icicle.png')
          - type: call-service
            label: Lightning
            service: script.turn_on
            service_data:
              entity_id: script.[YOUR SCRIPT ENTITY ID HERE]
            icon_color: center/100% url('/local/[YOUR IMAGE FOLDER HERE]/[YOUR IMAGE SUB-FOLDER HERE]/lightning.png')
          - type: call-service
            label: Ocean
            service: script.turn_on
            service_data:
              entity_id: script.[YOUR SCRIPT ENTITY ID HERE]
            icon_color: center/100% url('/local/[YOUR IMAGE FOLDER HERE]/[YOUR IMAGE SUB-FOLDER HERE]/ocean.png')
          - type: call-service
            label: Rainbow
            service: script.turn_on
            service_data:
              entity_id: script.[YOUR SCRIPT ENTITY ID HERE]
            icon_color: center/100% url('/local/[YOUR IMAGE FOLDER HERE]/[YOUR IMAGE SUB-FOLDER HERE]/rainbow.png')
          - type: call-service
            label: Raindrops
            service: script.turn_on
            service_data:
              entity_id: script.[YOUR SCRIPT ENTITY ID HERE]
            icon_color: center/100% url('/local/[YOUR IMAGE FOLDER HERE]/[YOUR IMAGE SUB-FOLDER HERE]/raindrops.png')
          - type: call-service
            label: Spring
            service: script.turn_on
            service_data:
              entity_id: script.[YOUR SCRIPT ENTITY ID HERE]
            icon_color: center/100% url('/local/[YOUR IMAGE FOLDER HERE]/[YOUR IMAGE SUB-FOLDER HERE]/spring.png')
          - type: call-service
            label: Valentines
            service: script.turn_on
            service_data:
              entity_id: script.[YOUR SCRIPT ENTITY ID HERE]
            icon_color: center/100% url('/local/[YOUR IMAGE FOLDER HERE]/[YOUR IMAGE SUB-FOLDER HERE]/valentines.png')
2 Likes

im still looking for a way to have something like the color painting in the app where I can set each segment to a specific fixed color. I would need this functionality way more than using flashing effects. Any news on this topic?

Hello,

I know this thread is a little old, but I’d love a copy of the scripts for each of the canned effects and the red alert one if you still have these available. I’ve been trying to get all the parameters down, but still struggling to understand how they all work together.

sure, I’m helping!

All mine are set at 25 because anything brighter is nonsensical but you can easily swap out the last number for the brightness on any color: image

accent_lights_rainbow_25:
  alias: Accent Lights - Rainbow
  sequence:
  - service: tplink.sequence_effect
    target:
      entity_id:
      - light.kitchen_island_leds
      - light.kitchen_leds
      - light.kitchen_over_cabinet_1_leds
      - light.kitchen_over_cabinet_2_leds
      - light.kitchen_under_cabinet_1_leds
      - light.kitchen_under_cabinet_2_leds
      - light.big_tv_leds
      - light.living_room_end_table_1_leds
      - light.living_room_end_table_2_leds
      - light.living_room_end_table_3_leds
      - light.living_room_end_table_4_leds
      - light.bar_leds
      - light.buffet_leds
      - light.bedroom_bed_leds
      - light.bedroom_bureau_leds
      - light.bedroom_dresser_leds
      - light.bedroom_nightstand_1_leds
      - light.bedroom_nightstand_2_leds
      - light.bedroom_2_bed_leds
      - light.bedroom_2_dresser_leds
      - light.bedroom_2_leds
      - light.bedroom_2_nightstand_1_leds
      - light.bedroom_2_nightstand_2_leds
      - light.office_desk_leds
      - light.office_leds
      - light.bathroom_2_leds
      - light.bathroom_1_leds
      - light.media_room_leds
      - light.media_room_table_leds
      - light.downstairs_bathroom_leds
      - light.downstairs_tv_leds
      - light.downstairs_media_leds
      - light.garage_entryway_leds
      - light.front_entryway_hall_tree_1_leds
      - light.front_entryway_hall_tree_2_leds
      - light.bubble_wall_light
      - light.media_room_fireplace_leds
      - light.sky_butthole
    data:
      sequence:
      - - 0
        - 100
        - 25
      - - 100
        - 100
        - 25
      - - 200
        - 100
        - 25
      - - 300
        - 100
        - 25
      brightness: 25
      transition: 6000
      spread: 12
      direction: 1
  mode: single
  icon: mdi:looks
accent_lights_aurora_25:
  alias: Accent Lights - Aurora
  sequence:
  - service: tplink.sequence_effect
    target:
      entity_id:
      - light.kitchen_island_leds
      - light.kitchen_leds
      - light.kitchen_over_cabinet_1_leds
      - light.kitchen_over_cabinet_2_leds
      - light.kitchen_under_cabinet_1_leds
      - light.kitchen_under_cabinet_2_leds
      - light.big_tv_leds
      - light.living_room_end_table_1_leds
      - light.living_room_end_table_2_leds
      - light.living_room_end_table_3_leds
      - light.living_room_end_table_4_leds
      - light.bar_leds
      - light.buffet_leds
      - light.bedroom_bed_leds
      - light.bedroom_bureau_leds
      - light.bedroom_dresser_leds
      - light.bedroom_nightstand_1_leds
      - light.bedroom_nightstand_2_leds
      - light.bedroom_2_bed_leds
      - light.bedroom_2_dresser_leds
      - light.bedroom_2_leds
      - light.bedroom_2_nightstand_1_leds
      - light.bedroom_2_nightstand_2_leds
      - light.office_desk_leds
      - light.office_leds
      - light.bathroom_2_leds
      - light.bathroom_1_leds
      - light.media_room_leds
      - light.media_room_table_leds
      - light.downstairs_bathroom_leds
      - light.downstairs_tv_leds
      - light.downstairs_media_leds
      - light.garage_entryway_leds
      - light.front_entryway_hall_tree_1_leds
      - light.front_entryway_hall_tree_2_leds
      - light.bubble_wall_light
      - light.media_room_fireplace_leds
      - light.sky_butthole
    data:
      sequence:
      - - 120
        - 100
        - 25
      - - 240
        - 100
        - 25
      - - 260
        - 100
        - 25
      - - 280
        - 100
        - 25
      brightness: 25
      transition: 6000
      spread: 7
      direction: 4
  mode: single
  icon: mdi:weather-night
accent_lights_bubbling_cauldron_25:
  alias: Accent Lights - Bubbling Cauldron
  sequence:
  - service: tplink.random_effect
    data:
      init_states: 270, 100, 25
      backgrounds:
      - - 270
        - 40
        - 25
      hue_range: 100, 270
      saturation_range: 80, 100
      transition: 6000
      fadeoff: 1000
      random_seed: 24
      brightness_range: 1, 25
      brightness: 25
    target:
      entity_id:
      - light.kitchen_island_leds
      - light.kitchen_leds
      - light.kitchen_over_cabinet_1_leds
      - light.kitchen_over_cabinet_2_leds
      - light.kitchen_under_cabinet_1_leds
      - light.kitchen_under_cabinet_2_leds
      - light.big_tv_leds
      - light.living_room_end_table_1_leds
      - light.living_room_end_table_2_leds
      - light.living_room_end_table_3_leds
      - light.living_room_end_table_4_leds
      - light.bar_leds
      - light.buffet_leds
      - light.bedroom_bed_leds
      - light.bedroom_bureau_leds
      - light.bedroom_dresser_leds
      - light.bedroom_nightstand_1_leds
      - light.bedroom_nightstand_2_leds
      - light.bedroom_2_bed_leds
      - light.bedroom_2_dresser_leds
      - light.bedroom_2_leds
      - light.bedroom_2_nightstand_1_leds
      - light.bedroom_2_nightstand_2_leds
      - light.office_desk_leds
      - light.office_leds
      - light.bathroom_2_leds
      - light.bathroom_1_leds
      - light.media_room_leds
      - light.media_room_table_leds
      - light.downstairs_bathroom_leds
      - light.downstairs_tv_leds
      - light.downstairs_media_leds
      - light.garage_entryway_leds
      - light.front_entryway_hall_tree_1_leds
      - light.front_entryway_hall_tree_2_leds
      - light.bubble_wall_light
      - light.media_room_fireplace_leds
      - light.sky_butthole
  mode: single
  icon: mdi:flask-round-bottom
accent_lights_candy_cane_25:
  alias: Accent Lights - Candy Cane
  sequence:
  - service: tplink.sequence_effect
    target:
      entity_id:
      - light.kitchen_island_leds
      - light.kitchen_leds
      - light.kitchen_over_cabinet_1_leds
      - light.kitchen_over_cabinet_2_leds
      - light.kitchen_under_cabinet_1_leds
      - light.kitchen_under_cabinet_2_leds
      - light.big_tv_leds
      - light.living_room_end_table_1_leds
      - light.living_room_end_table_2_leds
      - light.living_room_end_table_3_leds
      - light.living_room_end_table_4_leds
      - light.bar_leds
      - light.buffet_leds
      - light.bedroom_bed_leds
      - light.bedroom_bureau_leds
      - light.bedroom_dresser_leds
      - light.bedroom_nightstand_1_leds
      - light.bedroom_nightstand_2_leds
      - light.bedroom_2_bed_leds
      - light.bedroom_2_dresser_leds
      - light.bedroom_2_leds
      - light.bedroom_2_nightstand_1_leds
      - light.bedroom_2_nightstand_2_leds
      - light.office_desk_leds
      - light.office_leds
      - light.bathroom_2_leds
      - light.bathroom_1_leds
      - light.media_room_leds
      - light.media_room_table_leds
      - light.downstairs_bathroom_leds
      - light.downstairs_tv_leds
      - light.downstairs_media_leds
      - light.garage_entryway_leds
      - light.front_entryway_hall_tree_1_leds
      - light.front_entryway_hall_tree_2_leds
      - light.bubble_wall_light
      - light.media_room_fireplace_leds
      - light.sky_butthole
    data:
      brightness: 25
      spread: 1
      direction: 1
      segments: 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15
      duration: 700
      transition: 500
      sequence:
      - - 0
        - 0
        - 25
      - - 0
        - 0
        - 25
      - - 360
        - 81
        - 25
      - - 0
        - 0
        - 25
      - - 0
        - 0
        - 25
      - - 360
        - 81
        - 25
      - - 360
        - 81
        - 25
      - - 0
        - 0
        - 25
      - - 0
        - 0
        - 25
      - - 360
        - 81
        - 25
  mode: single
  icon: mdi:candycane
accent_lights_christmas_25:
  alias: Accent Lights - Christmas
  sequence:
  - service: tplink.random_effect
    data:
      init_states: 136, 0, 25
      backgrounds:
      - - 136
        - 98
        - 25
      - - 136
        - 0
        - 0
      - - 350
        - 0
        - 25
      - - 350
        - 97
        - 25
      hue_range: 136, 146
      saturation_range: 90, 100
      fadeoff: 2000
      random_seed: 100
      brightness: 25
      duration: 5000
      brightness_range: 1, 25
    target:
      entity_id:
      - light.kitchen_island_leds
      - light.kitchen_leds
      - light.kitchen_over_cabinet_1_leds
      - light.kitchen_over_cabinet_2_leds
      - light.kitchen_under_cabinet_1_leds
      - light.kitchen_under_cabinet_2_leds
      - light.big_tv_leds
      - light.living_room_end_table_1_leds
      - light.living_room_end_table_2_leds
      - light.living_room_end_table_3_leds
      - light.living_room_end_table_4_leds
      - light.bar_leds
      - light.buffet_leds
      - light.bedroom_bed_leds
      - light.bedroom_bureau_leds
      - light.bedroom_dresser_leds
      - light.bedroom_nightstand_1_leds
      - light.bedroom_nightstand_2_leds
      - light.bedroom_2_bed_leds
      - light.bedroom_2_dresser_leds
      - light.bedroom_2_leds
      - light.bedroom_2_nightstand_1_leds
      - light.bedroom_2_nightstand_2_leds
      - light.office_desk_leds
      - light.office_leds
      - light.bathroom_2_leds
      - light.bathroom_1_leds
      - light.media_room_leds
      - light.media_room_table_leds
      - light.downstairs_bathroom_leds
      - light.downstairs_tv_leds
      - light.downstairs_media_leds
      - light.garage_entryway_leds
      - light.front_entryway_hall_tree_1_leds
      - light.front_entryway_hall_tree_2_leds
      - light.bubble_wall_light
      - light.media_room_fireplace_leds
      - light.sky_butthole
  mode: single
  icon: phu:christmas-tree-v2
accent_lights_haunted_house_25:
  alias: Accent Lights - Haunted House
  sequence:
  - service: tplink.random_effect
    data:
      init_states: 360, 100, 25
      backgrounds:
      - - 360
        - 100
        - 25
      segments: 80
      hue_range: 360, 360
      saturation_range: 100, 100
      brightness_range: 0, 25
      transition_range: 50, 1500
      fadeoff: 200
      random_seed: 1
      brightness: 25
    target:
      entity_id:
      - light.kitchen_island_leds
      - light.kitchen_leds
      - light.kitchen_over_cabinet_1_leds
      - light.kitchen_over_cabinet_2_leds
      - light.kitchen_under_cabinet_1_leds
      - light.kitchen_under_cabinet_2_leds
      - light.big_tv_leds
      - light.living_room_end_table_1_leds
      - light.living_room_end_table_2_leds
      - light.living_room_end_table_3_leds
      - light.living_room_end_table_4_leds
      - light.bar_leds
      - light.buffet_leds
      - light.bedroom_bed_leds
      - light.bedroom_bureau_leds
      - light.bedroom_dresser_leds
      - light.bedroom_nightstand_1_leds
      - light.bedroom_nightstand_2_leds
      - light.bedroom_2_bed_leds
      - light.bedroom_2_dresser_leds
      - light.bedroom_2_leds
      - light.bedroom_2_nightstand_1_leds
      - light.bedroom_2_nightstand_2_leds
      - light.office_desk_leds
      - light.office_leds
      - light.bathroom_2_leds
      - light.bathroom_1_leds
      - light.media_room_leds
      - light.media_room_table_leds
      - light.downstairs_bathroom_leds
      - light.downstairs_tv_leds
      - light.downstairs_media_leds
      - light.garage_entryway_leds
      - light.front_entryway_hall_tree_1_leds
      - light.front_entryway_hall_tree_2_leds
      - light.bubble_wall_light
      - light.media_room_fireplace_leds
      - light.sky_butthole
  mode: single
  icon: mdi:ghost
accent_lights_icicle_25:
  alias: Accent Lights - Icicle
  sequence:
  - service: tplink.sequence_effect
    target:
      entity_id:
      - light.kitchen_island_leds
      - light.kitchen_leds
      - light.kitchen_over_cabinet_1_leds
      - light.kitchen_over_cabinet_2_leds
      - light.kitchen_under_cabinet_1_leds
      - light.kitchen_under_cabinet_2_leds
      - light.big_tv_leds
      - light.living_room_end_table_1_leds
      - light.living_room_end_table_2_leds
      - light.living_room_end_table_3_leds
      - light.living_room_end_table_4_leds
      - light.bar_leds
      - light.buffet_leds
      - light.bedroom_bed_leds
      - light.bedroom_bureau_leds
      - light.bedroom_dresser_leds
      - light.bedroom_nightstand_1_leds
      - light.bedroom_nightstand_2_leds
      - light.bedroom_2_bed_leds
      - light.bedroom_2_dresser_leds
      - light.bedroom_2_leds
      - light.bedroom_2_nightstand_1_leds
      - light.bedroom_2_nightstand_2_leds
      - light.office_desk_leds
      - light.office_leds
      - light.bathroom_2_leds
      - light.bathroom_1_leds
      - light.media_room_leds
      - light.media_room_table_leds
      - light.downstairs_bathroom_leds
      - light.downstairs_tv_leds
      - light.downstairs_media_leds
      - light.garage_entryway_leds
      - light.front_entryway_hall_tree_1_leds
      - light.front_entryway_hall_tree_2_leds
      - light.bubble_wall_light
      - light.media_room_fireplace_leds
      - light.sky_butthole
    data:
      sequence:
      - - 190
        - 100
        - 25
      - - 190
        - 100
        - 25
      - - 190
        - 30
        - 25
      - - 190
        - 100
        - 25
      - - 190
        - 100
        - 25
      brightness: 25
      transition: 400
      spread: 3
      direction: 4
  mode: single
  icon: mdi:snowflake
accent_lights_flicker:
  alias: Accent Lights - Flicker
  sequence:
  - service: tplink.random_effect
    data:
      hue_range: 30, 40
      random_seed: 24
      brightness_range: 1, 25
      brightness: 25
      segments: 1
      saturation_range: 100, 100
      init_states: 30, 81, 25
      transition_range: 1000, 3000
    target:
      entity_id:
      - light.kitchen_island_leds
      - light.kitchen_leds
      - light.kitchen_over_cabinet_1_leds
      - light.kitchen_over_cabinet_2_leds
      - light.kitchen_under_cabinet_1_leds
      - light.kitchen_under_cabinet_2_leds
      - light.big_tv_leds
      - light.living_room_end_table_1_leds
      - light.living_room_end_table_2_leds
      - light.living_room_end_table_3_leds
      - light.living_room_end_table_4_leds
      - light.bar_leds
      - light.buffet_leds
      - light.bedroom_bed_leds
      - light.bedroom_bureau_leds
      - light.bedroom_dresser_leds
      - light.bedroom_nightstand_1_leds
      - light.bedroom_nightstand_2_leds
      - light.bedroom_2_bed_leds
      - light.bedroom_2_dresser_leds
      - light.bedroom_2_leds
      - light.bedroom_2_nightstand_1_leds
      - light.bedroom_2_nightstand_2_leds
      - light.office_desk_leds
      - light.office_leds
      - light.bathroom_2_leds
      - light.bathroom_1_leds
      - light.media_room_leds
      - light.media_room_table_leds
      - light.downstairs_bathroom_leds
      - light.downstairs_tv_leds
      - light.downstairs_media_leds
      - light.garage_entryway_leds
      - light.front_entryway_hall_tree_1_leds
      - light.front_entryway_hall_tree_2_leds
  - service: light.turn_on
    data:
      effect: Cozy Blaze
    target:
      device_id:
      - fc000451bfaf18f9a8f9791cebf0f61a
      - 29a555e40c88a24d83c07dd17ee6491d
      - 4368e584e3da7f03ee5b128798ca4160
      - 7e075e14ff10b767bec21bf0f8b68842
      - acaaf6451ca1ae3d732160f04a2b33be
  mode: single
  icon: mdi:candle
accent_lights_hanukkah:
  alias: Accent Lights - Hanukkah
  sequence:
  - service: tplink.random_effect
    data:
      random_seed: 24
      brightness_range: 1, 25
      brightness: 25
      segments: 1
      saturation_range: 0, 100
      transition_range: 400, 500
      init_states: 35, 81, 25
      hue_range: 200, 210
      duration: 1500
    target:
      entity_id:
      - light.kitchen_island_leds
      - light.kitchen_leds
      - light.kitchen_over_cabinet_1_leds
      - light.kitchen_over_cabinet_2_leds
      - light.kitchen_under_cabinet_1_leds
      - light.kitchen_under_cabinet_2_leds
      - light.big_tv_leds
      - light.living_room_end_table_1_leds
      - light.living_room_end_table_2_leds
      - light.living_room_end_table_3_leds
      - light.living_room_end_table_4_leds
      - light.bar_leds
      - light.buffet_leds
      - light.bedroom_bed_leds
      - light.bedroom_bureau_leds
      - light.bedroom_dresser_leds
      - light.bedroom_nightstand_1_leds
      - light.bedroom_nightstand_2_leds
      - light.bedroom_2_bed_leds
      - light.bedroom_2_dresser_leds
      - light.bedroom_2_leds
      - light.bedroom_2_nightstand_1_leds
      - light.bedroom_2_nightstand_2_leds
      - light.office_desk_leds
      - light.office_leds
      - light.bathroom_2_leds
      - light.bathroom_1_leds
      - light.media_room_leds
      - light.media_room_table_leds
      - light.downstairs_bathroom_leds
      - light.downstairs_tv_leds
      - light.downstairs_media_leds
      - light.garage_entryway_leds
      - light.front_entryway_hall_tree_1_leds
      - light.front_entryway_hall_tree_2_leds
      - light.bubble_wall_light
      - light.media_room_fireplace_leds
      - light.sky_butthole
  mode: single
  icon: mdi:menorah-fire
accent_lights_lightning:
  alias: Accent Lights - Lightning
  sequence:
  - service: tplink.random_effect
    data:
      random_seed: 600
      brightness_range: 1, 25
      brightness: 25
      segments: 7, 20, 23, 32, 34, 35, 49, 65, 66, 74, 80
      init_states: 240, 30, 25
      hue_range: 240, 240
      saturation_range: 10, 11
      transition: 50
      fadeoff: 150
      backgrounds:
      - - 200
        - 100
        - 25
      - - 200
        - 50
        - 10
      - - 210
        - 10
        - 25
      - - 240
        - 10
        - 0
    target:
      entity_id:
      - light.kitchen_island_leds
      - light.kitchen_leds
      - light.kitchen_over_cabinet_1_leds
      - light.kitchen_over_cabinet_2_leds
      - light.kitchen_under_cabinet_1_leds
      - light.kitchen_under_cabinet_2_leds
      - light.big_tv_leds
      - light.living_room_end_table_1_leds
      - light.living_room_end_table_2_leds
      - light.living_room_end_table_3_leds
      - light.living_room_end_table_4_leds
      - light.bar_leds
      - light.buffet_leds
      - light.bedroom_bed_leds
      - light.bedroom_bureau_leds
      - light.bedroom_dresser_leds
      - light.bedroom_nightstand_1_leds
      - light.bedroom_nightstand_2_leds
      - light.bedroom_2_bed_leds
      - light.bedroom_2_dresser_leds
      - light.bedroom_2_leds
      - light.bedroom_2_nightstand_1_leds
      - light.bedroom_2_nightstand_2_leds
      - light.office_desk_leds
      - light.office_leds
      - light.bathroom_2_leds
      - light.bathroom_1_leds
      - light.media_room_leds
      - light.media_room_table_leds
      - light.downstairs_bathroom_leds
      - light.downstairs_tv_leds
      - light.downstairs_media_leds
      - light.garage_entryway_leds
      - light.front_entryway_hall_tree_1_leds
      - light.front_entryway_hall_tree_2_leds
      - light.bubble_wall_light
      - light.media_room_fireplace_leds
      - light.sky_butthole
  mode: single
  icon: mdi:weather-lightning
accent_lights_ocean:
  alias: Accent Lights - Ocean
  sequence:
  - service: tplink.sequence_effect
    target:
      entity_id:
      - light.kitchen_island_leds
      - light.kitchen_leds
      - light.kitchen_over_cabinet_1_leds
      - light.kitchen_over_cabinet_2_leds
      - light.kitchen_under_cabinet_1_leds
      - light.kitchen_under_cabinet_2_leds
      - light.big_tv_leds
      - light.living_room_end_table_1_leds
      - light.living_room_end_table_2_leds
      - light.living_room_end_table_3_leds
      - light.living_room_end_table_4_leds
      - light.bar_leds
      - light.buffet_leds
      - light.bedroom_bed_leds
      - light.bedroom_bureau_leds
      - light.bedroom_dresser_leds
      - light.bedroom_nightstand_1_leds
      - light.bedroom_nightstand_2_leds
      - light.bedroom_2_bed_leds
      - light.bedroom_2_dresser_leds
      - light.bedroom_2_leds
      - light.bedroom_2_nightstand_1_leds
      - light.bedroom_2_nightstand_2_leds
      - light.office_desk_leds
      - light.office_leds
      - light.bathroom_2_leds
      - light.bathroom_1_leds
      - light.media_room_leds
      - light.media_room_table_leds
      - light.downstairs_bathroom_leds
      - light.downstairs_tv_leds
      - light.downstairs_media_leds
      - light.garage_entryway_leds
      - light.front_entryway_hall_tree_1_leds
      - light.front_entryway_hall_tree_2_leds
      - light.bubble_wall_light
      - light.media_room_fireplace_leds
      - light.sky_butthole
    data:
      sequence:
      - - 198
        - 84
        - 25
      - - 198
        - 70
        - 25
      - - 198
        - 10
        - 25
      brightness: 25
      transition: 2000
      spread: 16
      direction: 3
  mode: single
  icon: mdi:waves
accent_lights_raindrop:
  alias: Accent Lights - Raindrop
  sequence:
  - service: tplink.random_effect
    data:
      init_states: 200, 40, 25
      backgrounds:
      - - 200
        - 40
        - 0
      hue_range: 200, 200
      saturation_range: 10, 20
      transition: 1000
      fadeoff: 1000
      random_seed: 24
      brightness_range: 1, 25
      brightness: 25
    target:
      entity_id:
      - light.kitchen_island_leds
      - light.kitchen_leds
      - light.kitchen_over_cabinet_1_leds
      - light.kitchen_over_cabinet_2_leds
      - light.kitchen_under_cabinet_1_leds
      - light.kitchen_under_cabinet_2_leds
      - light.big_tv_leds
      - light.living_room_end_table_1_leds
      - light.living_room_end_table_2_leds
      - light.living_room_end_table_3_leds
      - light.living_room_end_table_4_leds
      - light.bar_leds
      - light.buffet_leds
      - light.bedroom_bed_leds
      - light.bedroom_bureau_leds
      - light.bedroom_dresser_leds
      - light.bedroom_nightstand_1_leds
      - light.bedroom_nightstand_2_leds
      - light.bedroom_2_bed_leds
      - light.bedroom_2_dresser_leds
      - light.bedroom_2_leds
      - light.bedroom_2_nightstand_1_leds
      - light.bedroom_2_nightstand_2_leds
      - light.office_desk_leds
      - light.office_leds
      - light.bathroom_2_leds
      - light.bathroom_1_leds
      - light.media_room_leds
      - light.media_room_table_leds
      - light.downstairs_bathroom_leds
      - light.downstairs_tv_leds
      - light.downstairs_media_leds
      - light.garage_entryway_leds
      - light.front_entryway_hall_tree_1_leds
      - light.front_entryway_hall_tree_2_leds
      - light.bubble_wall_light
      - light.media_room_fireplace_leds
      - light.sky_butthole
  mode: single
  icon: mdi:weather-rainy
accent_lights_spring:
  alias: Accent Lights - Spring
  sequence:
  - service: tplink.random_effect
    data:
      backgrounds:
      - - 130
        - 100
        - 25
      hue_range: 0, 90
      saturation_range: 30, 100
      fadeoff: 1000
      random_seed: 20
      brightness_range: 1, 25
      brightness: 25
      duration: 600
      transition_range: 2000, 6000
      init_states: 80, 30, 25
    target:
      entity_id:
      - light.kitchen_island_leds
      - light.kitchen_leds
      - light.kitchen_over_cabinet_1_leds
      - light.kitchen_over_cabinet_2_leds
      - light.kitchen_under_cabinet_1_leds
      - light.kitchen_under_cabinet_2_leds
      - light.big_tv_leds
      - light.living_room_end_table_1_leds
      - light.living_room_end_table_2_leds
      - light.living_room_end_table_3_leds
      - light.living_room_end_table_4_leds
      - light.bar_leds
      - light.buffet_leds
      - light.bedroom_bed_leds
      - light.bedroom_bureau_leds
      - light.bedroom_dresser_leds
      - light.bedroom_nightstand_1_leds
      - light.bedroom_nightstand_2_leds
      - light.bedroom_2_bed_leds
      - light.bedroom_2_dresser_leds
      - light.bedroom_2_leds
      - light.bedroom_2_nightstand_1_leds
      - light.bedroom_2_nightstand_2_leds
      - light.office_desk_leds
      - light.office_leds
      - light.bathroom_2_leds
      - light.bathroom_1_leds
      - light.media_room_leds
      - light.media_room_table_leds
      - light.downstairs_bathroom_leds
      - light.downstairs_tv_leds
      - light.downstairs_media_leds
      - light.garage_entryway_leds
      - light.front_entryway_hall_tree_1_leds
      - light.front_entryway_hall_tree_2_leds
      - light.bubble_wall_light
      - light.media_room_fireplace_leds
      - light.sky_butthole
  mode: single
  icon: mdi:flower-tulip
accent_lights_valentine:
  alias: Accent Lights - Valentine
  sequence:
  - service: tplink.random_effect
    data:
      init_states: 340, 30, 25
      backgrounds:
      - - 340
        - 20
        - 25
      - - 20
        - 50
        - 25
      - - 0
        - 100
        - 25
      hue_range: 340, 340
      saturation_range: 30, 40
      transition: 2000
      fadeoff: 3
      random_seed: 100
      brightness_range: 1, 25
      duration: 600
      brightness: 25
    target:
      entity_id:
      - light.kitchen_island_leds
      - light.kitchen_leds
      - light.kitchen_over_cabinet_1_leds
      - light.kitchen_over_cabinet_2_leds
      - light.kitchen_under_cabinet_1_leds
      - light.kitchen_under_cabinet_2_leds
      - light.big_tv_leds
      - light.living_room_end_table_1_leds
      - light.living_room_end_table_2_leds
      - light.living_room_end_table_3_leds
      - light.living_room_end_table_4_leds
      - light.bar_leds
      - light.buffet_leds
      - light.bedroom_bed_leds
      - light.bedroom_bureau_leds
      - light.bedroom_dresser_leds
      - light.bedroom_nightstand_1_leds
      - light.bedroom_nightstand_2_leds
      - light.bedroom_2_bed_leds
      - light.bedroom_2_dresser_leds
      - light.bedroom_2_leds
      - light.bedroom_2_nightstand_1_leds
      - light.bedroom_2_nightstand_2_leds
      - light.office_desk_leds
      - light.office_leds
      - light.bathroom_2_leds
      - light.bathroom_1_leds
      - light.media_room_leds
      - light.media_room_table_leds
      - light.downstairs_bathroom_leds
      - light.downstairs_tv_leds
      - light.downstairs_media_leds
      - light.garage_entryway_leds
      - light.front_entryway_hall_tree_1_leds
      - light.front_entryway_hall_tree_2_leds
      - light.bubble_wall_light
      - light.media_room_fireplace_leds
      - light.sky_butthole
  mode: single
  icon: mdi:cards-playing-heart
accent_lights_blue_alert:
  alias: Accent Lights - Blue Alert
  sequence:
  - service: tplink.sequence_effect
    target:
      entity_id:
      - light.kitchen_over_cabinet_1_leds
      - light.kitchen_over_cabinet_2_leds
      - light.kitchen_under_cabinet_1_leds
      - light.kitchen_under_cabinet_2_leds
      - light.big_tv_leds
      - light.living_room_end_table_1_leds
      - light.living_room_end_table_2_leds
      - light.living_room_end_table_3_leds
      - light.living_room_end_table_4_leds
      - light.bar_leds
      - light.buffet_leds
      - light.bedroom_bed_leds
      - light.bedroom_bureau_leds
      - light.bedroom_dresser_leds
      - light.bedroom_nightstand_1_leds
      - light.bedroom_nightstand_2_leds
      - light.bedroom_2_bed_leds
      - light.bedroom_2_dresser_leds
      - light.bedroom_2_leds
      - light.bedroom_2_nightstand_1_leds
      - light.bedroom_2_nightstand_2_leds
      - light.office_desk_leds
      - light.office_leds
      - light.bathroom_2_leds
      - light.bathroom_1_leds
      - light.media_room_leds
      - light.media_room_table_leds
      - light.downstairs_bathroom_leds
      - light.front_entryway_hall_tree_1_leds
      - light.front_entryway_hall_tree_2_leds
      - light.bubble_wall_light
      - light.media_room_fireplace_leds
      - light.sky_butthole
      - light.downstairs_media_leds
      - light.downstairs_tv_leds
      - light.garage_entryway_leds
      - light.under_island_leds
      - light.under_counter_leds
    data:
      sequence:
      - - 240
        - 100
        - 25
      - - 0
        - 0
        - 0
      - - 0
        - 0
        - 0
      - - 240
        - 100
        - 25
      brightness: 25
      transition: 1
      spread: 13
      direction: 1
  mode: single
  icon: mdi:alarm-light

This is awesome, thank you so much for the time to figure this out and sharing!

1 Like