History stats and three values shown on it

I look at history stats of last boot of HA.


Now, the last one is current time. However what are the first and second values and why 2:32min differnce?

1st: when the state changed to the current state.
2nd: when the state changed to something else or the last time the sensor updated if still the same state.