How to set correctly an attribute from overdue Todo list with repeat action?

Hi,

as title says i can’t figure out, how to set my attribute of Variables+History integration with repeat action.
I can list the the items from it, but i’m struggling to set the overdue item.
(The notification part of the automation is working)

Thanks in advance!
BR,
Zsolt

actions:
  - action: todo.get_items
    metadata: {}
    target:
      entity_id: todo.zsolt_listaja
    data:
      status:
        - needs_action
    response_variable: todovar
  - action: notify.send_message
    metadata: {}
    target:
      device_id: 809a8a979707d33cb68a8fb3dd615c22
    data:
      message: >-
        "{{ todovar['todo.zsolt_listaja']['items'] | map(attribute='summary') | list | join(', ') }}"
      title: ⚠️ Overdue Reminder
    enabled: true
  - repeat:
      for_each: "{{ todovar['todo.zsolt_listaja']['items'] }}"
      sequence:
        - condition: template
          value_template: |
            {{ repeat.item.due | as_datetime | as_local < now() }}
          alias: Test if the item is past due or will be past due today.
        - action: variable.update_sensor
          metadata: {}
          data:
            attributes:
              notification_zsolt: "{{ repeat.item.due | as_datetime | as_local < now() }}"
          target:
            entity_id: sensor.custom_texts
          enabled: false
    enabled: true

I found it (if somebody need it).
The correct format is:

actions:
  - action: todo.get_items
    metadata: {}
    target:
      entity_id: todo.zsolt_listaja
    data:
      status:
        - needs_action
    response_variable: todovar
  - repeat:
      for_each: '{{ todovar[''todo.zsolt_listaja''][''items''] }}'
      sequence:
        - condition: template
          value_template: >-
            {{ repeat.item.due | as_datetime | as_local < now() +
            timedelta(hours=12)}}
        - action: variable.update_sensor
          metadata: {}
          data:
            attributes:
              notification_zsolt: '{{ repeat.item.summary }}'
          target:
            entity_id: sensor.custom_texts
          enabled: true