Pass sensor friendly name to automation?

Would like to create a single automation that can pass the sensor friendly name to a file by double clicking on a card

type: custom:mushroom-entity-card
entity: sensor.chore_smokealarms
double_tap_action:
  action: perform-action
  confirmation:
    text: Are you sure you want to?
  target:
    entity_id: automation.chorehelper_set
  data:
    skip_condition: true
  perform_action: automation.trigger

Automation:

  - alias: "ChoreHelper Set"
    description: ""
    mode: single
    trigger:
      - platform: state
        entity_id:
          - sensor.chore_smokealarms
        to:
    condition: []    
    action:
      - service: notify.pushover
        data:
          message: >-
            {{ now().strftime("%Y-%m-%d - %H:%M:%S") }}, {{trigger.to_state.attributes.friendly_name}}
            
          title: "Chore Notification"

Automation would write to the defined file with:

  • Date, Time, Friendly name of the Entity from above.

  • Would also reset the date for that entity.

I have multiple Chore sensors that need to do this so instead of creating an automation for each one would rather have it just call one automation.

Might be as close as I can get…

- alias: '[AC] Test2'
    trigger:
      - platform: event
        event_type: state_changed
    condition:
      - condition: template
        value_template: >
          {{ trigger.event.data.entity_id.startswith('sensor.chore_') and 
             trigger.event.data.new_state.attributes.last_completed != none and
             (trigger.event.data.new_state.attributes.last_completed | as_datetime).date() == now().date() }}
    action:
      - service: notify.pushover
        data:
          message: >
            "{{ trigger.event.data.new_state.attributes.friendly_name }}" was completed today at {{ trigger.event.data.new_state.attributes.last_completed }}.
      - service: notify.send_message
        data:
          entity_id: notify.file_acf
          message: >-
            {{ now().strftime('%m/%d/%Y') }}, {{ now().strftime('%H:%M') }}, {{ trigger.event.data.new_state.attributes.friendly_name }}