Dynamically changing status icon of a connected device
Good day community,
I have a connected device represented by a thing. There is a property on the thing called: last connection. I am representing this thing using a label and an icon on the mashup side. This icon should change to a green color when the device is connected and then switch to a red color when the device is offline.
How do I go about writing a dynamic service to accomplish this?