Community Tip - If community subscription notifications are filling up your inbox you can set up a daily digest and get all your notifications in a single email. X
I need users to be able to enable/disable Things with a toggle button. Is there a way to check if a Thing is enabled/disabled?
Solved! Go to Solution.
Never mind. Found it.
//input: thingname
// enabled: BOOLEAN
var enabled = Things[thingname].IsEnabled();
Never mind. Found it.
//input: thingname
// enabled: BOOLEAN
var enabled = Things[thingname].IsEnabled();