What should my device handler have to allow smart lighting to set level?

I am writing a device handler to control a music player.
I want the smart lighting smart app, to turn the music on and off.
I also want to use the set level to control the volume.
What capability should the device handler support to allow setlevel to set the volume?
Niv

http://docs.smartthings.com/en/latest/capabilities-reference.html#switch-level

1 Like