Soft on/off toggles for lighting

Is there any way to set a transition for all lights, and have it work with on off toggles?

I’m using an entities card to control light switches. I figured out how to make it so if I hold in the main area of a switch it will activate a automation which performs a transition, however it would be nice if you could also hit the toggle switch on the right. Also I’m trying to figure out how to scale this without creating an automation for each switch. I have a feeling that there may be a way to use templates, but I haven’t become competent yet.

Does anyone have a solution for always applying a transition of say 1 second to turn on or off a light?

I’d like to be able to hit the toggle on the right, and have the light transition on or off.

This explains how to set default values, including transition, for lights:

Default turn-on values

1 Like

Epic, thank you. I’ll look into it.

That worked great. Thanks!

Is there a way to not set a color as a part of the profile? I’m using Adaptive Lighting and would like to not interfere with that functionality.