This is a custom light component that works with TREO LED Pool Lights and exposes the different colors as "effects" so thay can be selected from Home Assistant.
Using the External Components feature in ESPHome you can add this component to your devices directly from my GitHub repo.
external_components:
- source: github://nuttytree/ESPHome-Devices
components: [ treo_led_pool_light ]Add and configure the Treo LED Pool Lights
light:
- platform: treo_led_pool_light
id: my_pool_lights
name: My Pool Lights
output: my_pool_lights_output- output (Required, ID) The id of the binary Output Component to use for this light.
It is possible for the color of the lights to get out of sync with each other and/or this component. To resolve this issue this component adds a service named esphome.{device_name}_color_reset that goes through the series of power cycles defined in the lights user guide that will reset all lights and this component back to the slow color change "effect".