Community Tip - Visit the PTCooler (the community lounge) to get to know your fellow community members and check out some of Dale's Friday Humor posts! 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();