home-assistant / core

:house_with_garden: Open source home automation that puts local control and privacy first.
https://www.home-assistant.io
Apache License 2.0
73.48k stars 30.7k forks source link

Live Logbook stopped being live (using Cloud/Google assistant?) #72963

Closed Mariusthvdb closed 2 years ago

Mariusthvdb commented 2 years ago

The problem

as title

can only see the state changes by reloading the page, or navigating away and return

filtering itself is correct, and only shows the correct entities from my included entities (set in recorder filter)

What version of Home Assistant Core has the issue?

2022.6.1

What was the last working version of Home Assistant Core?

2022.6.0 / 2022.7.0.dev20220602 (?)

What type of installation are you running?

Home Assistant OS

Integration causing the issue

Logbook

Link to integration documentation on our website

https://next.home-assistant.io/integrations/logbook

Diagnostics information

No response

Example YAML snippet

history:
logbook: #!include ../../logging/logbook.yaml
recorder: !include ../../logging/recorder.yaml

during the betas I had a separate logbook filter as you can see, but after the fix for the inheritance of the recorder filters into logbook, I took that out and it simply worked.

recorder.yaml does:

db_url: !secret db_url
purge_keep_days: 7

# https://www.home-assistant.io/integrations/recorder/#configure-filter
exclude:
  !include excluded_entities.yaml

include:
  !include included_entities.yaml

Anything in the logs that might be useful for us?

No response

Additional information

see: https://github.com/home-assistant/core/issues/72662 for background, filters and fix that was made, and confirmed to be functional