Device Name from Device ID

Hi there,
I am using the usual context variable to select a device from a list.
However how can I derive the Name from the ctx device ID?

You can use {{ctx.VARIABLE_NAME.name}}

Note that the ”Include full device info in context” checkbox must be checked under the context variable’s settings.

Please see our documentation on this topic for more info, and let us know if you have further questions.

1 Like

Argh deng, I was trying Name which is the one displayed in the device list but yes instead is name lower case.
Thanks.