Home automation lagging behind the dashboard

Hi,
I am running Hive TVR’s and I am trying to write am automation.
The script works but I have noticed the automation is lagging behind the dashboard.
The Dashboard “widget” updates the the message updates up to a 90 seconds later.

I use the following to show the current status

alias: Display Hive TRVs and Thermostat States
description: Log the current state attributes of Hive TRVs and thermostat for debugging.
triggers:
  - seconds: /10
    trigger: time_pattern
actions:
  - data:
      title: Hive TRVs and Thermostat States
      message: >
        Kitchen TRV State: {{ state_attr('climate.kitchen', 'hvac_action') }}
        Kitchen TRV Attributes: {{ state_attr('climate.kitchen',
        'current_temperature') }}

        Thermostat State: {{ state_attr('climate.thermostat', 'hvac_action') }}
        Thermostat Attributes: {{ state_attr('climate.thermostat',
        'current_temperature') }}
    action: persistent_notification.create
mode: single

My set up is a PI 4b and it does have a zigbee dongle, but I don’t this it is been used. The internet is a direct connection into 500mbs Deco mesh.
Does anyone have any ideas?