Create "Warning light"

Hi all.
I’m trying to figure out how to create such a warning light.
I would like just to monitor the state of some devices, by showing on the right side (were normally there ere the switches, i.e.) such a LED (red if OFF green if ON). Basically like the switching icons that usually are on the left side of a control.
Some suggestion?

Thanks

Take a look at

Thanks for the suggestion.
I’ll try to make it