Stopped because an error was encountered 'code'

I am getting the following trace timeline:
Triggered by the time at March 26, 2024 at 00:00:00

Call a service ‘Switch: Turn off’ on Outside-Lights, תאורת גינה Socket 1, and Back Gargen light and Window Light

(switch.left_wall_light) turned off
(switch.door_light) turned off

(switch.right_wall_light) turned off

Stopped because an error was encountered at March 26, 2024 at 00:00:03 (runtime: 2.74 seconds)

‘code’

How can I get more details on what ‘code’ error is all about?

id: '1699337767544'
alias: Turn Off Light at midnight
description: ''
trigger:
  - platform: time
    at: '00:00:00'
condition: []
action:
  - service: switch.turn_off
    target:
      entity_id:
        - switch.tvrt_gynh_socket_1
        - switch.light
      device_id: 00e7171259574346e24656a4ebd9aa89
    data: {}
mode: single

Other than negative karma points for using a uuid device id (you should really use the entity id instead). I don’t see anything glaringly wrong… It’s a simple automation. but 2.74 seconds is a long time to turn off a switch. so I’m thinking there are likely additional automations getting triggered by those 3 switches turning on/off? is there?

I created this Automation using the GUI, So its not my doing of using UUID. I used the entity name (Maybe because the name was in other language than English?)

There are no other automations triggering by those switches.

using the ui will generate the device uuid if you choose “device” (blue) instead of entity (green).

i’m a bit baffled, but let’s get more info and maybe it’ll spark something in my head or someone smarter… can you get the actual trace data?

image

choose download trace then paste the whole contents in here (preformatted)