Running_script: false

I hace a zigbee plug which is running my refrigerator, measuring current etc. I want to know via a message to my phone if the switch is turned off for more than 10 seconds. Sounds pretty straight forward, here is the yaml code:alias: Kitchen Refrigerator Monitor
description: “”
triggers:

  • type: turned_off
    device_id: 3c6ac1ca07e33933911675b57570a04e
    entity_id: 6c72d78bef06955e62c26217253e1fea
    domain: switch
    trigger: device
    for:
    hours: 0
    minutes: 0
    seconds: 10
    conditions:
    actions:
  • action: notify.mobile_app_daves_iphone
    data:
    message: Kitchen refrigerator has no power.
    title: Kitchen Refrigerator Monitor
    mode: single
    Looking at the trace I am presented with running_script: false

Executed: November 30, 2024 at 10:05:20 PM
Result:
params:
domain: notify
service: mobile_app_daves_iphone
service_data:
message: Kitchen refrigerator has no power.
title: Kitchen Refrigerator Monitor
target: {}
running_script: false

I have run the same action code in the Developer Tools and it works fine, ant suggestion about why it isn’t working in the automation?