jms3000
(Martin)
August 2, 2021, 9:35am
1
I have a binary sensor for a door. In the lovelace ui, I would like to see a list of datetimes when the door was open. Is there a custom card for this?
(using a history graph is not what I want)
Mine does this by default, have you maybe got history turned off in recorder?
jms3000
(Martin)
August 2, 2021, 10:02am
3
I can get this in the developer tools if I click the info-icon of the sensor. But how to have it as an UI card?
I am just using the standard Entities card in the Frontend, when you click on the Entity name the pop-up shown above appears.
cards:
- entities:
- entity: input_boolean.intruder_detection
- entity: alarm_control_panel.ha_alarm
- entity: binary_sensor.front_door
- entity: binary_sensor.balcony_door
- entity: binary_sensor.door_switch
- entity: group.persons
header:
image: /local/home-security-banner.jpg
type: picture
show_header_toggle: false
title: Intruder Detection
type: entities
tom_l
August 2, 2021, 10:50am
6
Use the custom Home Feed card.
Edit - 18/04/2019: Now with added custom_updater!
No new features added in this update, but you can now use custom_updater to keep it up to date with any new updates.
To implement this has required the name of the file to be changed from home-feed-card.js to lovelace-home-feed-card.js, so bear this in mind if you are updating manually.
Edit - 30/05/2019: Performance improvements, please read carefully if you have issues with Firefox
The latest version does a couple of things in a different way…
e.g. It can do things like this:
Hmm, it gives strange values. See below, it says that the last event was 13 hours ago
[image]
But if you look at 8 hour state graphs for the same entities, you can see that there were many more events in the last 8 hours (photos taken around 22:40)
[image]
It’s even more apparent when you look at the motion detectors which have lots and lots of activity over the last 8 hours
[image]
[image]
1 Like
It works well, my final config is here . Yaml is here
1 Like
jms3000
(Martin)
August 2, 2021, 1:33pm
8
great!!!
exactly what I was looking for!
thanks a lot!