Hi,
I’m working through the industrial equipment monitor template to try to get more familiar with the experience side of Losant. I’m looking at the component-device-list part trying to edit it to show what I’m interested in. I’m wondering if there is a way to replace the part that indicates whether the device is “running” or not with if the device is connected or not. the part I’ve been trying to edit is the template line:
“{{#eq this.compositeState.state_description.value ‘Running’}} device-list-status-green{{else}} device-list-status-red{{/eq}”
I’ve been trying things like “this.isConnected”, “this.connectionStatus”, “this.isConnectedToLosant” and I just can’t seem to figure out if this property is available.
I feel like it has to be since there is a device connection log and the device list in the portal shows if the device is connected or not, but I can’t find it.