I am trying to have a logbook-card show all leak sensors that changed state in the last x hours.
A basic version of the logbook showing one of my sensors I am using for testing:
type: custom:logbook-card
desc: true
entity: binary_sensor.upstairs_bathroom_toilet_leak_sensor
title: Water Leak Sensors
style: |
.card-header {
font-size: 18px;
padding: 2px 15px 2px 15px
}
collapse: 5
show:
separator: true
separator_style:
color: black
style: dashed
At auto-entities card that shows me all of my leak sensors:
type: custom:auto-entities
card:
title: Water Leak Sensors
style: |
.card-header {
font-size: 18px;
padding: 2px 15px 2px 15px
}
type: entities
filter:
include:
- entity_id: binary_sensor.*_leak_sensor
I’d like to combine the two so that the logbook shows me all the applicable leak sensors without me have to list each one. Is that possible? I’ve tried a few permutations and can’t get it to work.
Edit: The style is just to format the card title so it looks like all the rest. Ideally I would also like to add a separator line right under the title. In my entities card I use:
entities:
- type: section
EDIT2: Looks like logbook-card supports only a single entity. Is there a card that support multiple? I changed the title of the thread to reflect this…