Can someone direct me to the correct format for using a time series to set the initial state of an RPC control widget?
I am using the round switch widget on a thingsboard dashboard, and would like to set the initial value using the "subscribe for time series" method. I am using a valid telemetry metric for my device: data_RO1_status
, in the Attribute/Timeseries value key
field. I am not getting any data back in the Parse value function
field, though, and the switch always just turns to off when the dashboard is reloaded. I can correctly display the value of the latest telemetry for this metric with a read-only gauge, so the issue must be with my understanding of the syntax. Can someone direct me to the correct format for using a time series to set the initial state of an RPC control widget?