Pass attribute value in sms notification

Is there a way to pass an attribute value in a sms notification? I’m trying to pass the reported power from a smart plug.

You can tap the +Variable to add a variable to your notification.


Thanks, can you elaborate more on this? I chose two different variables and they both just pass the attribute name.


In the rules I’m using this in, I’ve already copied the value to a variable, so I’m just using the variable directly.

From a quick test, the event.value passes the actual value that triggered the rule and the event.attribute passes the attribute name that triggered the rule. Looks like it MUST be the thing that triggered the rule for those context ones to work.


Got it working, thanks for the path into the variables.

1 Like