Closed Kanecaine closed 6 months ago
I suppose it is the minimal_duration option. It filters out when a window is only opened for a short time. At least in one case it is the reason for duplicate entries in my config.
Can you provide the full history (without hidden states) and provide the history you want to be displayed based on your configuration?
Is it working with non multiple card ?
Hi, thanks for your reply. I found an explanation for the 2 „alle Fenster geschlossen“ at 21:29 on March, 31. I simply missed too add all window sensors. So between these to „closed“ events, there have been another “opened“ event. After adding the missing sensor, the history shows right.
With all filters removed i scrolled to the same date/time (2 cards, first one with filters, second one without):
The two „Terrassentür geöffnet“ events at 14:28 on April, 1st: between them is a „Terrassentür geschlossen“ event which i filtered out. So maybe your card does all right - i don’t know what it should show in that case. Combining the two „open“ events would not be right. So if i filter out the „closed“ event it shows right in history, isn‘t it?
Yes, to me the behaviour is correct and squashing the 2 open state will lead to a invalid state ...
If OK for you, you can close the issue
@Kanecaine can we close the issue ?
Hi @royto, yes it works as aspected now. This can be closed. Sorry, for my late response and thanks for your support.
Describe the bug The feature described here
https://github.com/royto/logbook-card/issues/8#issue-517587134
doesnt work in multiple logbook card. I wanted to see a logbook for my window sensors and want to show when they have been open.
Expected behavior No duplicate entries.
Screenshots
Environment (please complete the following information):
Card configuration
Additional context I used the logbook card for multiple entities and added each window sensor with a state filter for „unavailable“ and „off“ - for showing only when they are open. Additionally i added a „all windows closed“ sensor with a state filter for „on“ - for showing only when all windows are closed. I turned on the group-by-day function.