Open clau-bucur opened 1 month ago
My test. Create a new view, place 2 similar cards:
type: custom:auto-entities
card:
type: custom:multiple-logbook-card
hours_to_show: 1
filter:
include:
- entity_id: device_tracker.ac*
type: vertical-stack
cards:
- type: custom:auto-entities
card:
type: custom:multiple-logbook-card
hours_to_show: 1
filter:
include:
- entity_id: device_tracker.ac*
i.e this is same card - but the 2nd one is placed inside vertical-stack
.
Should be displayed as
If the 1st card is shown in UI editor - no issues:
In case of the 2nd card - it is not shown & there is an error "Please define at least one entity" in console:
Describe the bug I'm unable to combine
multiple-logbook-card
withauto-entities
and I get the following error in the console:card custom:multiple-logbook-card Error: Please define at least one entity in entities
.Here's a sample of the code I've tried:
Tried with other examples too, even with the complete code from https://github.com/royto/logbook-card/issues/123#issuecomment-2171818036
Tried with the built-in
logbook
card, it works properly: