I want to return true if any of the valves are open
When I do the following:
{value}["Valves"][0] = "Open"
Result: true
When I do the following:
indexOf({value}["Valves"],"Open")
Result: -1
Can someone explain what I am doing wrong or what assumptions I have that are incorrect? I also tried checking the typeOf({value}["Valves"][0] and it is a string...
I'm bummed that there is no clean native solution. I am going to install your module to test it out, but I am unable to do a gateway restart at this time so I cannot test it out. Thank You for your work on this module.