Thanks for getting back to me. Trace stopped because a condition failed.
How do I check the command line sensor?
{
"trace": {
"last_step": "condition/0",
"run_id": "b4de2fd5673928706684fd7159010c9b",
"state": "stopped",
"script_execution": "failed_conditions",
"timestamp": {
"start": "2023-12-05T13:26:10.647158+00:00",
"finish": "2023-12-05T13:26:10.647282+00:00"
},
"domain": "automation",
"item_id": "1701778200024",
"trigger": "state of sensor.adguard_logs",
"trace": {
"trigger/0": [
{
"path": "trigger/0",
"timestamp": "2023-12-05T13:26:10.647191+00:00",
"changed_variables": {
"this": {
"entity_id": "automation.new_automation_2",
"state": "on",
"attributes": {
"id": "1701778200024",
"last_triggered": "2023-12-05T13:04:17.675839+00:00",
"mode": "single",
"current": 0,
"friendly_name": "WIP Flag Blacklist"
},
"last_changed": "2023-12-05T13:04:36.430105+00:00",
"last_updated": "2023-12-05T13:04:36.430105+00:00",
"context": {
"id": "01HGX1952E75TZX6YBGYYP36VB",
"parent_id": null,
"user_id": null
}
},
"trigger": {
"id": "0",
"idx": "0",
"alias": null,
"platform": "state",
"entity_id": "sensor.adguard_logs",
"from_state": null,
"to_state": {
"entity_id": "sensor.adguard_logs",
"state": "unknown",
"attributes": {},
"last_changed": "2023-12-05T13:26:10.516276+00:00",
"last_updated": "2023-12-05T13:26:10.516276+00:00",
"context": {
"id": "01HGX2GMTM5S5MWNVGAQT1DGG1",
"parent_id": null,
"user_id": null
}
},
"for": null,
"attribute": null,
"description": "state of sensor.adguard_logs"
}
}
}
],
"condition/0": [
{
"path": "condition/0",
"timestamp": "2023-12-05T13:26:10.647208+00:00",
"result": {
"result": false,
"entities": []
}
}
]
},
"config": {
"id": "1701778200024",
"alias": "WIP Flag Blacklist",
"description": "",
"trigger": [
{
"platform": "state",
"entity_id": "sensor.adguard_logs"
}
],
"condition": [
{
"condition": "template",
"value_template": "{{ 'blahblahblah' in trigger.to_state.state }}"
}
],
"action": [
{
"service": "notify.pushover",
"data": {
"message": "Found the specific string in the log file!"
}
}
]
},
"blueprint_inputs": null,
"context": {
"id": "01HGX2GMYQNQFV6K1J62YG6903",
"parent_id": "01HGX2GMTM5S5MWNVGAQT1DGG1",
"user_id": null
}
},
"logbookEntries": []
}