Hey there.
I tried my best and got my first api integration running. I could only extract a numeric number from a total of calls (app used for emergency dispatch). Like: total number of calls „…“.
This will only go up with every new call.
The idea is to fire an automation, everytime there is a new call, so the number is grater then before.
For example:
Sensor value is set to 10
There is a new call, sensor will go to 11.
Then the automation would fire. (Maybe with the condition that I’m home…)
The new value would be 11 and it should fire when the new value of 12 comes up.
I can’t get my head around it.
I’m sorry for my bad English, I’m not a native speaker.
All the best and thanks in advance,
Angelo