I found another way to get this done.
I created a Text Helper. In my situation, I called it “Alarm Log”
Via Node-RED, I change the value of the Text Helper each time I want an entry in my logbook
[{"id":"89a6de34c3f49b1a","type":"server-state-changed","z":"c5bc44e52b8d6f12","name":"Alarm systeem","server":"e7575a56.84bb08","version":4,"exposeToHomeAssistant":false,"haConfig":[{"property":"name","value":""},{"property":"icon","value":""}],"entityidfilter":"input_select.alarm_systeem","entityidfiltertype":"exact","outputinitially":false,"state_type":"str","haltifstate":"","halt_if_type":"str","halt_if_compare":"is","outputs":1,"output_only_on_state_change":true,"for":"0","forType":"num","forUnits":"minutes","ignorePrevStateNull":false,"ignorePrevStateUnknown":false,"ignorePrevStateUnavailable":false,"ignoreCurrentStateUnknown":false,"ignoreCurrentStateUnavailable":false,"outputProperties":[{"property":"payload","propertyType":"msg","value":"","valueType":"entityState"},{"property":"data","propertyType":"msg","value":"","valueType":"eventData"},{"property":"topic","propertyType":"msg","value":"","valueType":"triggerId"}],"x":80,"y":2020,"wires":[["cb19ca9e75ad5426"]]},{"id":"cb19ca9e75ad5426","type":"api-call-service","z":"c5bc44e52b8d6f12","name":"Schijf in log","server":"e7575a56.84bb08","version":5,"debugenabled":false,"domain":"input_text","service":"set_value","areaId":[],"deviceId":[],"entityId":["input_text.alarm_log"],"data":"{\"value\":\"Alarm systeem is {{ data.new_state.state }}\"}","dataType":"json","mergeContext":"","mustacheAltTags":false,"outputProperties":[],"queue":"none","x":310,"y":2020,"wires":[[]]},{"id":"e7575a56.84bb08","type":"server","name":"Home Assistant","version":5,"addon":true,"rejectUnauthorizedCerts":true,"ha_boolean":"y|yes|true|on|home|open","connectionDelay":true,"cacheJson":true,"heartbeat":false,"heartbeatInterval":"30","areaSelector":"friendlyName","deviceSelector":"friendlyName","entitySelector":"friendlyName","statusSeparator":"at: ","statusYear":"hidden","statusMonth":"short","statusDay":"numeric","statusHourCycle":"h23","statusTimeFormat":"h:m","enableGlobalContextStore":true}]
Through HACS, I installed Frontend Repository “Logbook Card”
I have configured the following Lovelace Card in my dashboard:
type: custom:logbook-card
entity: input_text.alarm_log
max_items: 5
desc: true
show:
state: true
duration: false
start_date: true
end_date: false
icon: false
separator: true
title: ' '
history: 30
With this as a result:
![alarmlog](https://community-assets.home-assistant.io/original/4X/6/c/1/6c1d63baaea0c80fc2a7db0630378b482a012ddb.png)
For me, this is the perfect alternative.
I hope this helps you guys.