Can someone tell me why the automation is crashing?
{
"trace": {
"last_step": "action/0",
"run_id": "c4e50fd317ace3c2c4f9f2c752a1607d",
"state": "stopped",
"script_execution": null,
"timestamp": {
"start": "2023-09-24T11:46:13.056973+00:00",
"finish": "2023-09-24T11:46:13.058889+00:00"
},
"domain": "automation",
"item_id": "1674394349151",
"trigger": null,
"trace": {
"trigger": [
{
"path": "trigger",
"timestamp": "2023-09-24T11:46:13.057033+00:00",
"changed_variables": {
"this": {
"entity_id": "automation.robby_zuruck_basis_oder_ausleeren",
"state": "on",
"attributes": {
"id": "1674394349151",
"last_triggered": "2023-09-21T13:05:11.400313+00:00",
"mode": "single",
"current": 0,
"friendly_name": "Robby - Zurück Basis oder ausleeren"
},
"last_changed": "2023-09-23T15:55:12.992086+00:00",
"last_updated": "2023-09-23T15:55:12.992086+00:00",
"context": {
"id": "01HB1C12Q0ZG7C1SZ55DRRK207",
"parent_id": null,
"user_id": null
}
},
"trigger": {
"platform": null
}
}
}
],
"action/0": [
{
"path": "action/0",
"timestamp": "2023-09-24T11:46:13.057401+00:00",
"changed_variables": {
"context": {
"id": "01HB3G5VY0CWHR5BAH3Y2KDKMH",
"parent_id": "01HB3DHRK87Z0QCEV4C5ST0MD1",
"user_id": null
}
},
"result": {
"params": {
"domain": "automation",
"service": "turn_off",
"service_data": {
"stop_actions": true,
"entity_id": [
"automation.robby_eg_alle_weg"
]
},
"target": {
"entity_id": [
"automation.robby_eg_alle_weg"
]
}
},
"running_script": false
}
}
]
},
"config": {
"id": "1674394349151",
"alias": "Robby - Zurück Basis oder ausleeren",
"description": "",
"trigger": [],
"condition": [],
"action": [
{
"service": "automation.turn_off",
"data": {
"stop_actions": true
},
"target": {
"entity_id": [
"automation.robby_eg_alle_weg"
]
}
},
{
"if": [
{
"condition": "state",
"entity_id": "vacuum.valetudo_robby",
"state": "cleaning"
}
],
"then": [
{
"service": "vacuum.return_to_base",
"data": {},
"target": {
"entity_id": "vacuum.valetudo_robby"
}
}
]
},
{
"if": [
{
"condition": "numeric_state",
"entity_id": "sensor.valetudo_robby_current_statistics_area",
"above": 100000
}
],
"then": [
{
"wait_for_trigger": [
{
"platform": "numeric_state",
"entity_id": "vacuum.valetudo_robby",
"attribute": "battery_level",
"above": 50
}
],
"continue_on_timeout": false
},
{
"if": [
{
"condition": "state",
"entity_id": "vacuum.valetudo_robby",
"state": "returning"
}
],
"then": [
{
"service": "vacuum.stop",
"data": {},
"target": {
"entity_id": "vacuum.valetudo_robby"
}
}
]
},
{
"service": "mqtt.publish",
"data": {
"topic": "homeassistant/robby/GoToLocationCapability/go/set",
"payload": "{ \"coordinates\": { \"x\": 2097, \"y\": 3231 } }",
"qos": "1"
}
},
{
"service": "notify.matrix_haus_xyz",
"data": {
"message": "Robby ist fertig mit saugen, bitte Behälter ausleeren!"
}
}
],
"else": [
{
"service": "vacuum.return_to_base",
"data": {},
"target": {
"entity_id": "vacuum.valetudo_robby"
}
}
]
},
{
"service": "automation.turn_on",
"data": {},
"target": {
"entity_id": "automation.robby_eg_alle_weg"
}
}
],
"mode": "single"
},
"blueprint_inputs": null,
"context": {
"id": "01HB3G5VY0CWHR5BAH3Y2KDKMH",
"parent_id": "01HB3DHRK87Z0QCEV4C5ST0MD1",
"user_id": null
}
},
"logbookEntries": [
{
"name": "Robby - Zurück Basis oder ausleeren",
"message": "triggered",
"source": null,
"entity_id": "automation.robby_zuruck_basis_oder_ausleeren",
"context_id": "01HB3G5VY0CWHR5BAH3Y2KDKMH",
"when": 1695555973.057111,
"domain": "automation"
},
{
"when": 1695555973.059298,
"state": "off",
"entity_id": "automation.robby_eg_alle_weg",
"context_event_type": "automation_triggered",
"context_domain": "automation",
"context_name": "Robby - Zurück Basis oder ausleeren",
"context_message": "triggered",
"context_entity_id": "automation.robby_zuruck_basis_oder_ausleeren"
}
]
}