Error in traces.
{
"trace": {
"last_step": "action/1/choose/0/conditions/0",
"run_id": "bfc57c5f7301b29f729aba0a14a5fe6b",
"state": "stopped",
"script_execution": "finished",
"timestamp": {
"start": "2022-07-07T09:15:10.037026+00:00",
"finish": "2022-07-07T09:15:25.092140+00:00"
},
"domain": "automation",
"item_id": "1638477440398",
"trigger": "state of binary_sensor.andreas_telefon",
"trace": {
"trigger/0": [
{
"path": "trigger/0",
"timestamp": "2022-07-07T09:15:10.037152+00:00",
"changed_variables": {
"this": {
"entity_id": "automation.oppna_porten_ble",
"state": "on",
"attributes": {
"last_triggered": "2022-07-07T08:42:50.950640+00:00",
"mode": "single",
"current": 0,
"id": "1638477440398",
"friendly_name": "Öppna porten (BLE)"
},
"last_changed": "2022-07-07T08:20:36.339648+00:00",
"last_updated": "2022-07-07T08:43:06.001947+00:00",
"context": {
"id": "01G7BX7ECH3R6TVNV4KS7XJESD",
"parent_id": null,
"user_id": null
}
},
"trigger": {
"id": "andreas",
"idx": "0",
"platform": "state",
"entity_id": "binary_sensor.andreas_telefon",
"from_state": {
"entity_id": "binary_sensor.andreas_telefon",
"state": "off",
"attributes": {
"friendly_name": "Andreas telefon"
},
"last_changed": "2022-07-07T09:11:52.372237+00:00",
"last_updated": "2022-07-07T09:11:52.372237+00:00",
"context": {
"id": "01G7BYW49M1D4PFWZE8MNN8V81",
"parent_id": null,
"user_id": null
}
},
"to_state": {
"entity_id": "binary_sensor.andreas_telefon",
"state": "on",
"attributes": {
"friendly_name": "Andreas telefon"
},
"last_changed": "2022-07-07T09:15:10.019336+00:00",
"last_updated": "2022-07-07T09:15:10.019336+00:00",
"context": {
"id": "01G7BZ25A3P08FSYS2QGP4MAC6",
"parent_id": null,
"user_id": null
}
},
"for": null,
"attribute": null,
"description": "state of binary_sensor.andreas_telefon"
}
}
}
],
"action/0": [
{
"path": "action/0",
"timestamp": "2022-07-07T09:15:10.047345+00:00",
"changed_variables": {
"context": {
"id": "01G7BZ25AMBJ9VFSS4S168N20P",
"parent_id": "01G7BZ25A3P08FSYS2QGP4MAC6",
"user_id": null
}
},
"result": {
"choice": 0
}
}
],
"action/0/choose/0": [
{
"path": "action/0/choose/0",
"timestamp": "2022-07-07T09:15:10.047600+00:00",
"result": {
"result": true
}
}
],
"action/0/choose/0/conditions/0": [
{
"path": "action/0/choose/0/conditions/0",
"timestamp": "2022-07-07T09:15:10.047703+00:00",
"result": {
"result": true
}
}
],
"action/0/choose/0/conditions/1": [
{
"path": "action/0/choose/0/conditions/1",
"timestamp": "2022-07-07T09:15:10.047804+00:00",
"result": {
"result": true,
"entities": [
"sensor.wifi_connection"
]
}
}
],
"action/0/choose/0/sequence/0": [
{
"path": "action/0/choose/0/sequence/0",
"timestamp": "2022-07-07T09:15:10.049624+00:00",
"result": {
"params": {
"domain": "esphome",
"service": "ns_kitchen_play_rtttl",
"service_data": {
"song_str": "siren:d=25,o=10,b=150:d,e,d,e,d,e"
},
"target": {}
},
"running_script": false,
"limit": 10
}
}
],
"action/0/choose/0/sequence/1": [
{
"path": "action/0/choose/0/sequence/1",
"timestamp": "2022-07-07T09:15:10.052139+00:00",
"result": {
"params": {
"domain": "switch",
"service": "turn_on",
"service_data": {},
"target": {
"entity_id": [
"switch.porttelefon"
]
}
},
"running_script": false,
"limit": 10
}
}
],
"action/0/choose/0/sequence/2": [
{
"path": "action/0/choose/0/sequence/2",
"timestamp": "2022-07-07T09:15:10.055364+00:00",
"result": {
"delay": 5,
"done": true
}
}
],
"action/0/choose/0/sequence/3": [
{
"path": "action/0/choose/0/sequence/3",
"timestamp": "2022-07-07T09:15:15.057556+00:00",
"result": {
"params": {
"domain": "switch",
"service": "turn_on",
"service_data": {},
"target": {
"entity_id": [
"switch.porttelefon"
]
}
},
"running_script": false,
"limit": 10
}
}
],
"action/0/choose/0/sequence/4": [
{
"path": "action/0/choose/0/sequence/4",
"timestamp": "2022-07-07T09:15:15.063917+00:00",
"result": {
"delay": 5,
"done": true
}
}
],
"action/0/choose/0/sequence/5": [
{
"path": "action/0/choose/0/sequence/5",
"timestamp": "2022-07-07T09:15:20.067059+00:00",
"result": {
"params": {
"domain": "switch",
"service": "turn_on",
"service_data": {},
"target": {
"entity_id": [
"switch.porttelefon"
]
}
},
"running_script": false,
"limit": 10
}
}
],
"action/0/choose/0/sequence/6": [
{
"path": "action/0/choose/0/sequence/6",
"timestamp": "2022-07-07T09:15:20.076229+00:00",
"result": {
"delay": 5,
"done": true
}
}
],
"action/0/choose/0/sequence/7": [
{
"path": "action/0/choose/0/sequence/7",
"timestamp": "2022-07-07T09:15:25.078986+00:00",
"result": {
"params": {
"domain": "switch",
"service": "turn_on",
"service_data": {},
"target": {
"entity_id": [
"switch.porttelefon"
]
}
},
"running_script": false,
"limit": 10
}
}
],
"action/1": [
{
"path": "action/1",
"timestamp": "2022-07-07T09:15:25.085383+00:00"
}
],
"action/1/choose/0": [
{
"path": "action/1/choose/0",
"timestamp": "2022-07-07T09:15:25.085669+00:00",
"result": {
"result": false
}
}
],
"action/1/choose/0/conditions/0": [
{
"path": "action/1/choose/0/conditions/0",
"timestamp": "2022-07-07T09:15:25.085780+00:00",
"result": {
"result": false
}
}
]
},
"config": {
"id": "1638477440398",
"alias": "Öppna porten (BLE)",
"description": "",
"trigger": [
{
"platform": "state",
"entity_id": "binary_sensor.andreas_telefon",
"to": "on",
"id": "andreas"
},
{
"platform": "state",
"entity_id": "binary_sensor.petras_telefon",
"id": "petra",
"to": "on"
}
],
"condition": null,
"action": [
{
"choose": [
{
"conditions": [
{
"condition": "trigger",
"id": "andreas"
},
{
"condition": "template",
"value_template": "{{ states('sensor.wifi_connection')[0:9] != \"WIFI_SSID\" }} "
}
],
"sequence": [
{
"service": "esphome.ns_kitchen_play_rtttl",
"data": {
"song_str": "siren:d=25,o=10,b=150:d,e,d,e,d,e"
}
},
{
"service": "switch.turn_on",
"target": {
"entity_id": "switch.porttelefon"
},
"data": {}
},
{
"delay": {
"hours": 0,
"minutes": 0,
"seconds": 5,
"milliseconds": 0
}
},
{
"service": "switch.turn_on",
"target": {
"entity_id": "switch.porttelefon"
},
"data": {}
},
{
"delay": {
"hours": 0,
"minutes": 0,
"seconds": 5,
"milliseconds": 0
}
},
{
"service": "switch.turn_on",
"target": {
"entity_id": "switch.porttelefon"
},
"data": {}
},
{
"delay": {
"hours": 0,
"minutes": 0,
"seconds": 5,
"milliseconds": 0
}
},
{
"service": "switch.turn_on",
"target": {
"entity_id": "switch.porttelefon"
},
"data": {}
}
]
}
]
},
{
"choose": [
{
"conditions": [
{
"condition": "trigger",
"id": "petra"
},
{
"condition": "template",
"value_template": "{{ states('sensor.petra_wifi_connection')[0:9] != \"WIFI_SSID\" }} "
}
],
"sequence": [
{
"service": "esphome.ns_kitchen_play_rtttl",
"data": {
"song_str": "siren:d=25,o=10,b=150:d,e,d,e,d,e"
}
},
{
"service": "switch.turn_on",
"target": {
"entity_id": "switch.porttelefon"
},
"data": {}
},
{
"delay": {
"hours": 0,
"minutes": 0,
"seconds": 5,
"milliseconds": 0
}
},
{
"service": "switch.turn_on",
"target": {
"entity_id": "switch.porttelefon"
},
"data": {}
},
{
"delay": {
"hours": 0,
"minutes": 0,
"seconds": 5,
"milliseconds": 0
}
},
{
"service": "switch.turn_on",
"target": {
"entity_id": "switch.porttelefon"
},
"data": {}
},
{
"delay": {
"hours": 0,
"minutes": 0,
"seconds": 5,
"milliseconds": 0
}
},
{
"service": "switch.turn_on",
"target": {
"entity_id": "switch.porttelefon"
},
"data": {}
},
{
"delay": {
"hours": 0,
"minutes": 0,
"seconds": 5,
"milliseconds": 0
}
},
{
"service": "switch.turn_on",
"target": {
"entity_id": "switch.porttelefon"
},
"data": {}
},
{
"delay": {
"hours": 0,
"minutes": 0,
"seconds": 5,
"milliseconds": 0
}
},
{
"service": "switch.turn_on",
"target": {
"entity_id": "switch.porttelefon"
},
"data": {}
},
{
"service": "notify.mobile_app_petra",
"data": {
"message": "command_high_accuracy_mode",
"title": "turn_off"
}
}
]
}
]
}
],
"mode": "single"
},
"blueprint_inputs": null,
"context": {
"id": "01G7BZ25AMBJ9VFSS4S168N20P",
"parent_id": "01G7BZ25A3P08FSYS2QGP4MAC6",
"user_id": null
}
},
"logbookEntries": [
{
"name": "Öppna porten (BLE)",
"message": "triggered by state of binary_sensor.andreas_telefon",
"source": "state of binary_sensor.andreas_telefon",
"entity_id": "automation.oppna_porten_ble",
"context_id": "01G7BZ25AMBJ9VFSS4S168N20P",
"when": 1657185310.037491,
"domain": "automation"
},
{
"when": 1657185310.081195,
"state": "on",
"entity_id": "switch.porttelefon",
"icon": "mdi:door-closed-lock",
"context_event_type": "automation_triggered",
"context_domain": "automation",
"context_name": "Öppna porten (BLE)",
"context_message": "triggered by state of binary_sensor.andreas_telefon",
"context_source": "state of binary_sensor.andreas_telefon",
"context_entity_id": "automation.oppna_porten_ble"
},
{
"when": 1657185311.072473,
"state": "off",
"entity_id": "switch.porttelefon",
"icon": "mdi:door-closed-lock",
"context_event_type": "automation_triggered",
"context_domain": "automation",
"context_name": "Öppna porten (BLE)",
"context_message": "triggered by state of binary_sensor.andreas_telefon",
"context_source": "state of binary_sensor.andreas_telefon",
"context_entity_id": "automation.oppna_porten_ble"
},
{
"when": 1657185315.069924,
"state": "on",
"entity_id": "switch.porttelefon",
"icon": "mdi:door-closed-lock",
"context_event_type": "automation_triggered",
"context_domain": "automation",
"context_name": "Öppna porten (BLE)",
"context_message": "triggered by state of binary_sensor.andreas_telefon",
"context_source": "state of binary_sensor.andreas_telefon",
"context_entity_id": "automation.oppna_porten_ble"
},
{
"when": 1657185316.072161,
"state": "off",
"entity_id": "switch.porttelefon",
"icon": "mdi:door-closed-lock",
"context_event_type": "automation_triggered",
"context_domain": "automation",
"context_name": "Öppna porten (BLE)",
"context_message": "triggered by state of binary_sensor.andreas_telefon",
"context_source": "state of binary_sensor.andreas_telefon",
"context_entity_id": "automation.oppna_porten_ble"
},
{
"when": 1657185320.09312,
"state": "on",
"entity_id": "switch.porttelefon",
"icon": "mdi:door-closed-lock",
"context_event_type": "automation_triggered",
"context_domain": "automation",
"context_name": "Öppna porten (BLE)",
"context_message": "triggered by state of binary_sensor.andreas_telefon",
"context_source": "state of binary_sensor.andreas_telefon",
"context_entity_id": "automation.oppna_porten_ble"
},
{
"when": 1657185321.10009,
"state": "off",
"entity_id": "switch.porttelefon",
"icon": "mdi:door-closed-lock",
"context_event_type": "automation_triggered",
"context_domain": "automation",
"context_name": "Öppna porten (BLE)",
"context_message": "triggered by state of binary_sensor.andreas_telefon",
"context_source": "state of binary_sensor.andreas_telefon",
"context_entity_id": "automation.oppna_porten_ble"
},
{
"when": 1657185325.098947,
"state": "on",
"entity_id": "switch.porttelefon",
"icon": "mdi:door-closed-lock",
"context_event_type": "automation_triggered",
"context_domain": "automation",
"context_name": "Öppna porten (BLE)",
"context_message": "triggered by state of binary_sensor.andreas_telefon",
"context_source": "state of binary_sensor.andreas_telefon",
"context_entity_id": "automation.oppna_porten_ble"
},
{
"when": 1657185326.100433,
"state": "off",
"entity_id": "switch.porttelefon",
"icon": "mdi:door-closed-lock",
"context_event_type": "automation_triggered",
"context_domain": "automation",
"context_name": "Öppna porten (BLE)",
"context_message": "triggered by state of binary_sensor.andreas_telefon",
"context_source": "state of binary_sensor.andreas_telefon",
"context_entity_id": "automation.oppna_porten_ble"
}
]
}