I want to calculate the time difference between two states.
Not sure if it is import to mention:
Same state changes can occur more than once: f.e. key: A "in development" -> "ready" happens twice. The calculation should be able to differentiate. Later on I will add those times in order to get a total time in state per key.