I see that automations that are triggered by scans, but I never see the scan logged, should I? I would like to see in the logbook that a tag was scanned and the matching device ID of the device that scanned it. Can I turn that on somehow?
I didn’t do anything special Ahhhhh I’ve just seen my automation which instructs the logging via logger
alias: Tag NFCTag-1-via-MiMix3 is scanned
description: ''
trigger:
- platform: tag
tag_id: snip
condition: []
action:
- service: system_log.write
data:
message: NFC Tag1 scanned
logger: automation Tag NFCTag-1-via-MiMix3 is scanned
mode: single
EDIT No I was wrong you don’t need a service call to log the automation should just appear in the logbook once triggered. For custom messages use the Logger service
Duplicated the automation one with the Logger and the other without the Logger Service call
Both triggers are logged
My logger settings in configuration.yaml are as follows