Lights & Switches

You can do it with the custom Dim and Dimmer smartapp from @wackware if that meets your use case.