Adding Last State Change to Custom Sub Label

Hi All

I ‘d like to have a Network (node) Device status tile, show the device Display Name as “label” and the IP + Last State Change as a custom sublabel.

Is this possible? It seems that the “laststatechange” variable is no longer exposed when declaring the sublabel as “Custom”.

Hey Oliver

Would something like this work for you?

{{properties.ipAddress}} - {{timeago(stateLastModified)}}

1 Like

Masokisi, that works great, thanks very much! I had to modify it slightly as these are Node Objects.

{{properties.snmpAddress}} – {{timeago(stateLastModified)}}