I’m trying to figure out how to return specific device details in a notification from webCoRe. For example, I want a notification with the text “motion sensor [name] is [status]” (where status is active/inactive)…
I want to do this for a handful of devices, but I can’t seem to figure out how to get access to device information within an expression. I have found the variables $device and $state and I’ve seen in the docs that you simply use [device_name] to access the device, but I don’t quite understand how these fit together, or if I’m missing something entirely.