Rule Creation with JSON Device Attribute

If a device attribute returns a JSON value, i.e.,

      "name": "propertyname",
      "type": "string",
      "level": "one"

Is there any way to map the attribute within the Rules API so that a rule can check if “level” is equal to “one”?

Tagging @orangebucket , because if anyone would know…:wink:

Sadly I don’t know as I have never played with that style of attribute.

1 Like

It was worth a try!