Using configuration.yaml, I have set a dimmable light switch to not be dimmable:
light.upstairs_bathroom_ceiling_light:
supported_color_modes:
- onoff
However, the group it is in can still set a dimming setting. This is bad for the light.
How can I get the group to respect the setting?
Alternatively, how can I trigger on changing the brightness of a light to change the brightness to 100% or 0% (high % or low %, like >25% keep it on, <=25% turn it off) ?