I have this call, I want to set “completion” and “needItems” as own sensors, or one sensors with these as atributes
But cant find a way to do this with a sensor. I guess rest sensor will be the best.
C:\Users\Flemming>curl -X GET -H "X-API-Key: abcdefg" http://10.0.24.10:8384/rest/db/completion?device=abcabc-abcabc-abcabc
{
"completion": 100,
"globalBytes": 3614385890068,
"globalItems": 601103,
"needBytes": 0,
"needDeletes": 0,
"needItems": 0,
"remoteState": "unknown",
"sequence": 0
}