How to create a virtual or dummy device

I have an LED strip which I control via shell commands.
I would like to create a dummy device to hold information about the LED strip like status (on, off) and colour (typically RGB).
I can’t seem to find any component that would allow me to create a virtual device.
Any suggestions on what I could do?

You can ‘save’ on and off status with an input boolean, and numeric values with an input slider.

and names in a input_select :slight_smile:

1 Like

You could try using a Command line switch to turn the light on and off, and store the other information as attributes of the switch.

Thanks all. I was hoping there would be virtual devices (like lights, sensors) that I could set up and assign statuses and attributes, but I see I can make do with your suggestions.
Think I’ll settle with @gpbenton’s one to keep everything tied together rather than separate input entities.