Log event in hassio logbook

I have a flow that triggers a mqtt event, however it looks like these aren’t logged into the hassio logbook. Is there a way I can manually get my flow to add an event?

You can call the logbook service and create a custom logbook entry.

here a test flow

[{“id”:“52a79c49.6502c4”,“type”:“api-call-service”,“z”:“4489ebf2.b57fc4”,“name”:"",“server”:“a4ffc1b3.ac473”,“service_domain”:“logbook”,“service”:“log”,“data”:"{“name”:“Kitchen”,“message”:“is being used”,“domain”:“light”}",“mergecontext”:"",“output_location”:"",“output_location_type”:“none”,“mustacheAltTags”:false,“x”:509,“y”:128,“wires”:[[]]},{“id”:“220ab069.278ef”,“type”:“inject”,“z”:“4489ebf2.b57fc4”,“name”:"",“topic”:"",“payload”:"",“payloadType”:“date”,“repeat”:"",“crontab”:"",“once”:false,“onceDelay”:0.1,“x”:327,“y”:128,“wires”:[[“52a79c49.6502c4”]]},{“id”:“a4ffc1b3.ac473”,“type”:“server”,“z”:"",“name”:“Home Assistant”,“legacy”:false,“hassio”:false,“rejectUnauthorizedCerts”:true,“ha_boolean”:“y|yes|true|on|home|open”,“connectionDelay”:true}]

1 Like

Thanks for the very thorough answer, hopefully I’ve got some new logbook events in due course. Thanks.