adaptive-lighting/custom_components
Michel Peterson f3a3c1cd48 Default lights of the apply service
The apply service is meant to apply the adaptive lighting parameters to a specific set of light(s). This set of lights need to be passed to the service, even though each Adaptive Lighting switch already has this list configured on itself. While having the flexibility to apply to some, it also might be useful to apply to all lights that the switch manages.

This patch makes the lights paramater optional and defaults it to the lights configured on the corresponding configuration entry of the switch being called.
2021-09-22 11:22:10 +03:00
..
adaptive_lighting Default lights of the apply service 2021-09-22 11:22:10 +03:00