Device status history

There is a feature request for this, don’t hesitate to vote.

Note that I have started working on it but it is not yet functional