bennijamm
(Benjamin)
August 29, 2021, 11:47pm
1
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
tom_l
August 30, 2021, 2:38am
2
The logbook card only monitors entities. There is no method to add custom log messages.
I think this has the same issue:
Edit - 18/04/2019: Now with added custom_updater!
No new features added in this update, but you can now use custom_updater to keep it up to date with any new updates.
To implement this has required the name of the file to be changed from home-feed-card.js to lovelace-home-feed-card.js, so bear this in mind if you are updating manually.
Edit - 30/05/2019: Performance improvements, please read carefully if you have issues with Firefox
The latest version does a couple of things in a different way…
bennijamm
(Benjamin)
August 30, 2021, 9:16am
3
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
tatham
(Tatham)
September 4, 2021, 6:33am
4
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
bennijamm
(Benjamin)
September 4, 2021, 7:40am
5
thanks, i will follow up on this problem!
tatham
(Tatham)
September 7, 2021, 12:04am
6
malosaa
(Hector)
November 7, 2022, 12:48pm
7
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