octoblu / issues

The place to report Octoblu issues
3 stars 2 forks source link

True / False evaluator node #239

Open brianehlert opened 8 years ago

brianehlert commented 8 years ago

The equality filter cannot be used as a filter for the state of true or false because true / false is frequently sent through as an object and not a string.

For example: { "msg": { "topic": "device-status", "payload": { "online": true }, "fromUuid": "11c85b92-cc46-4b98-91e6-e0f3bf595815" }, "node": "dc825b20-991d-11e5-b359-2151768ac657" }

Using an equality filter with {{msg.payload.online}} = true will never pass because true is not "true"