Hello, Is it possible to make an MQTT trigger conditional weither or not parts of the payload is matching a pattern?
For example:
payload: {
…
“action”: “something”,
“mode”: “one of the modes the device can be configured to be in”
…
}
In my case I’m trying to trigger a blueprint based on the orientation of an Aqara Cube Pro IE, “Action” and “Side”
A work around has been to add a condition before the actions but ideally id want the blueprint to only trigger if the action is not empty and the side is the specified side by the user (input)
Current blueprint can be reviewed here: