Logbook.log and lovelace logbook card

Hello,
I am having a problem with the logbook.log service and the lovelace ‘logbook’ card.
When we add a log via the service, it appears in the general log accessible from the vertical bar but not in lovelace. We only see the changes of state. How to make also appear what one adds by the service logbook.log?

Thank you

1 Like

The logbook card only monitors entities. There is no method to add custom log messages.

I think this has the same issue:

Thank you. What is surprising is that by adding a log with logbook.log, we can specify an entity … And in the logbook, when I choose the entity in question, I have the log that I have added by the service …

1 Like

It looks like this was working until 2021.8, at which point the behaviour changed/broke.

There’s an open issue for it: logbook card show no automation trigger after update · Issue #9732 · home-assistant/frontend (github.com)

1 Like

thanks, i will follow up on this problem!

This is fixed in 2021.9.4, released today

2021.9.0: More energy, USB discovery, template :heart: - Home Assistant (home-assistant.io)

How does the logbook work ?

I do get only my location data show up in there, but i did not set this up in any way.

When i check the yaml only logbook: is added.

If i add my selected entities they won’t show up…

any idea’s?

logbook:
  include:
    entities:
      - sensor.room1
      - sensor.room2
    domains:
      - alarm_control_panel
      - light