This is the trace… but unfortunately I just don’t understand it. Do you?
{
"trace": {
"last_step": "action/0/choose/0/sequence/0",
"run_id": "9554505e96298cc913e72c7e3f664d98",
"state": "stopped",
"script_execution": "finished",
"timestamp": {
"start": "2022-01-17T15:23:34.722500+00:00",
"finish": "2022-01-17T15:23:34.757291+00:00"
},
"domain": "automation",
"item_id": "1641316866498",
"trigger": "sunset with offset",
"trace": {
"trigger/0": [
{
"path": "trigger/0",
"timestamp": "2022-01-17T15:23:34.723089+00:00",
"changed_variables": {
"this": {
"entity_id": "automation.front_door_sun_sunset",
"state": "on",
"attributes": {
"last_triggered": "2022-01-17T05:56:45.397052+00:00",
"mode": "single",
"current": 0,
"id": "1641316866498",
"friendly_name": "Front Door Sunset/Sunrise"
},
"last_changed": "2022-01-16T17:11:26.571421+00:00",
"last_updated": "2022-01-17T05:56:45.420582+00:00",
"context": {
"id": "aa7737c32bb64a7c20aad2168b8bea4d",
"parent_id": null,
"user_id": null
}
},
"trigger": {
"id": "turnonsunset",
"idx": "0",
"platform": "sun",
"event": "sunset",
"offset": {
"__type": "<class 'datetime.timedelta'>",
"total_seconds": -3600
},
"description": "sunset with offset"
}
}
}
],
"action/0": [
{
"path": "action/0",
"timestamp": "2022-01-17T15:23:34.726029+00:00",
"changed_variables": {
"context": {
"id": "8d8a3fce511d48af9afbc12212e49689",
"parent_id": null,
"user_id": null
}
},
"result": {
"choice": 0
}
}
],
"action/0/choose/0": [
{
"path": "action/0/choose/0",
"timestamp": "2022-01-17T15:23:34.726580+00:00",
"result": {
"result": true
}
}
],
"action/0/choose/0/conditions/0": [
{
"path": "action/0/choose/0/conditions/0",
"timestamp": "2022-01-17T15:23:34.726800+00:00",
"result": {
"result": true
}
}
],
"action/0/choose/0/sequence/0": [
{
"path": "action/0/choose/0/sequence/0",
"timestamp": "2022-01-17T15:23:34.733190+00:00"
}
]
},
"config": {
"id": "1641316866498",
"alias": "Front Door Sunset/Sunrise",
"description": "",
"trigger": [
{
"platform": "sun",
"event": "sunset",
"offset": "-01:00",
"id": "turnonsunset"
},
{
"platform": "time",
"at": "23:30",
"id": "dim"
},
{
"platform": "sun",
"event": "sunrise",
"offset": "-02:00",
"id": "turnoffsunrise"
}
],
"condition": [],
"action": [
{
"choose": [
{
"conditions": [
{
"condition": "trigger",
"id": "turnonsunset"
}
],
"sequence": [
{
"type": "turn_on",
"device_id": "03419912808df6849d866075b5de8421",
"entity_id": "light.outdoor_front",
"domain": "light",
"brightness_pct": 100
}
]
},
{
"conditions": [
{
"condition": "trigger",
"id": "dim"
}
],
"sequence": [
{
"type": "turn_on",
"device_id": "03419912808df6849d866075b5de8421",
"entity_id": "light.outdoor_front",
"domain": "light",
"brightness_pct": 30
}
]
}
],
"default": [
{
"type": "turn_off",
"device_id": "03419912808df6849d866075b5de8421",
"entity_id": "light.outdoor_front",
"domain": "light"
}
]
}
]
},
"blueprint_inputs": null,
"context": {
"id": "8d8a3fce511d48af9afbc12212e49689",
"parent_id": null,
"user_id": null
}
},
"logbookEntries": [
{
"name": "Front Door Sunset/Sunrise",
"message": "has been triggered by sunset with offset",
"source": "sunset with offset",
"entity_id": "automation.front_door_sun_sunset",
"context_id": "8d8a3fce511d48af9afbc12212e49689",
"when": "2022-01-17T15:23:34.723735+00:00",
"domain": "automation"
},
{
"when": "2022-01-17T15:23:34.750862+00:00",
"name": "Outdoor Front",
"state": "on",
"entity_id": "light.outdoor_front",
"context_entity_id": "automation.front_door_sun_sunset",
"context_entity_id_name": "Front Door Sunset/Sunrise",
"context_event_type": "automation_triggered",
"context_domain": "automation",
"context_name": "Front Door Sunset/Sunrise",
"message": "turned on"
},
{
"when": "2022-01-17T15:23:34.782981+00:00",
"name": "Outdoor Front",
"state": "off",
"entity_id": "light.outdoor_front",
"context_entity_id": "automation.front_door_sun_sunset",
"context_entity_id_name": "Front Door Sunset/Sunrise",
"context_event_type": "automation_triggered",
"context_domain": "automation",
"context_name": "Front Door Sunset/Sunrise",
"message": "turned off"
}
]
}