I would like to easily know at what time my front door was opened.
For that I created a binary graph displaying the value of my door sensor, but I don’t find it great.
First, the graph does what it’s told: it shows my sensor’s state over time, except a door opens and closes in 10s, so at the graph’s scale (at best 1h) you hardly see anything (just a spike, sometimes narrower than 1 pixel).
And it’s not very quick to access: I saw that I can click the graph to get more detail, but it’s still cumbersome (you have to click in the right spot, etc.)
Is there another way to do this?
Otherwise, wouldn’t it be possible to create a « door-type object » to manage this?
I’m opening the question
Yes, I agree, but in @Terdious’s proposal he wants to add an event history for the different positions. This event history part, to me, is redundant with my event log proposal.
I think a history can be useful, but it doesn’t go much further than the need I had described.
On reflection, I think that if we display under / next to / … the date of the last state change (i.e., when my door changes from open to closed, or vice versa) it would be quite simple, and generic for any binary sensor.
It could be offered in the dashboard editor, when displaying a binary state with a checkbox « show date of last change », for example if we want to make it configurable