Hello dear community,
Is there a way to push the last 10 items which appears in a logbook (if possible filtered for some specific entities) in a Telegram notification?
My Telegram notification service works well. With the auto-entities and the logbook card, I am able to see what I want but now I want to send this when my alarm triggers.
You could try using the REST API with GET /api/logbook/<timestamp>
. You would then have to filter and format the returned JSON.