That would be nice, but if you choose Add a widget Slider it asks for a device.
In the tutorail it also says:
Change the value of the connected device, such as dimming a light. The units, MIN and MAX values can be adjusted in settings.
So, it is not a virtual thing.