Keep outlet on

I have a monitoring on/off outlet. It would be very bad if this unit every turned off but the button is staring me in the face in Vera. I’d like to remove the option to turn it off, or make it much harder to do so.

You can put this in lua startup code (Apps, Develop apps, Edut startup lua):


Replace 40 with your deviceID. This will hide your device from the user interface.

If you set invisible as suggested above you can set a scene to alert you to the switch being off so you won’t lose the monitoring facility.