I’m using the Pentair integration. Unfortunately, the way the integration works is that I have to call a service with a reference to set the color of the lights, of which there are dozens of modes. I can turn the lights on and off using a light entity, but I cannot set the color mode via the light entity.
I really like the light entities in HA. I can turn the lights on and off, and a variety of colors all from a single card, which I think is quite elegant. I’m trying to figure out how to create something that’s as close as possible for my pool lights.
Do you guys have an suggestions on the how to go about this? I’ve created an automation that I can call from a button to turn the lights on and set the color mode, but I’d rather not create 3 dozen buttons, one for each color mode. I also don’t know how to turn off the lights with a single card using this method. Any suggestions are appreciated!
Invalid config for [light.template]: some but not all values in the same group of inclusion 'effect' @ data['lights']['pentair_lights'][<effect>]. Got None. (See ?, line ?).
I then created a template light so that whenever I turn on the light entity it calls the service and sets the mode to color_swim, which is what I want every time it turns on.