HA automation get notified of who opened or triggered device with time

FAQ Guideline 11 - Format it properly

FAQ Guideline 14 - Screenshots

Don’t post a screenshot of the automation, post it in YAML format.