Custom attributes in condition based on device variable


#1

1) Give a description of the problem
I’m iterating over a list of devices, accessing them from within the list using set device = array_item($index, lights). My devices have a custom device handler that add a new property (auto). I then want to add a condition like if device.auto == null || device.auto == false {. But in the GUI, the custom property auto doesn’t show up. All the standard properties show, as well as status.

2) What is the expected behavior?
All custom properties on the device are available to be used in the condition.

3) What is happening/not happening?
The auto custom property is not available to be used in the condition.


#2

I’m also interested to see how this is done as I have a customer device type with a custom status for lastCheckIn and would like to monitor this in a similar way and generate notifications…


#3

Did you find an answer?


#4

Same problem here. Custom attributes don’t show up.