I have a non-smart led strip with it’s own IR remote like this one:
And I have a Tuya IR remote controller like this one:
I can control the led strip with that remote from Tuya so I created a ‘one click’ action for each of the buttons and those are automatically imported in Home Assistant as scenes.
If I run the scenes in Home Assistant I can control the led strip.
Now I would like to create a light entity that works just like any other color light entity in HA, with the color wheel, etc… so that I can include that led strip in all my routine/scenes.
I created a simple template light and I can turn the led strip on and off:
light:
- platform: template
lights:
striscia_led_cameretta:
friendly_name: "Striscia Led Cameretta"
turn_on:
service: script.striscia_led_cameretta_on
turn_off:
service: script.striscia_led_cameretta_off
I am now looking for advise on how to include the color selection weel and effects as well.
I already created an helper input_boolean with the list of all effects and color buttons but I do not know how to add those into the entity, any code example please ?
Thank you