In your sitemap, you should use a dimmer widget, or a switch widget to dim/switch the light as appropriate - there aren’t separate commands. The single configuration should be fine although I’m not familiar with this particular device, so I don’t know if it’s a multi-endpoint device (but I think not).