Hello,
I have defined which state to use in the device list UI by using the method getDeviceDisplayStateId.
The selected state display as follow : 1234 kWh.
I need to extract the numerical part of this state (in the exemple : 1234). I think displayStateValRaw is the best solution to do this, but this method return also 1234 kWh.
Somebody could explain me how displayStateValRaw works ?
Thanks.
Julien