Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save ahue/d5214dfa623e11373f9c422da2b92129 to your computer and use it in GitHub Desktop.
Save ahue/d5214dfa623e11373f9c422da2b92129 to your computer and use it in GitHub Desktop.
trace script.cover_open_close_duplicate 2025-01-05T10_55_51.170362+00_00
{
"trace": {
"last_step": "sequence/0",
"run_id": "7ed63d28d91f10de3817de1695fb27e1",
"state": "stopped",
"script_execution": "error",
"timestamp": {
"start": "2025-01-05T10:55:51.170362+00:00",
"finish": "2025-01-05T10:55:51.173932+00:00"
},
"domain": "script",
"item_id": "cover_open_close_duplicate",
"error": "template value should be a string @ data['device_id'][0]",
"trace": {
"sequence/0": [
{
"path": "sequence/0",
"timestamp": "2025-01-05T10:55:51.171606+00:00",
"changed_variables": {
"this": {
"entity_id": "script.cover_open_close_duplicate",
"state": "off",
"attributes": {
"last_triggered": "2025-01-05T10:55:46.580120+00:00",
"mode": "single",
"current": 0,
"icon": "mdi:window-shutter",
"friendly_name": "Cover open / close (Duplicate)"
},
"last_changed": "2025-01-05T10:55:46.583476+00:00",
"last_reported": "2025-01-05T10:55:46.583476+00:00",
"last_updated": "2025-01-05T10:55:46.583476+00:00",
"context": {
"id": "01JGV1PKCK09JPZS0NQBMZCZ3Z",
"parent_id": null,
"user_id": "fbb5706bd2c74c89b65ec91dd8c60181"
}
},
"f_cover_device": [
"c042fda57770a7f83072e84315a5357f",
"35f58faa396ee578fba25b18413c0304"
],
"context": {
"id": "01JGV1PQW2WZW58C7J9MGXD4W3",
"parent_id": null,
"user_id": "fbb5706bd2c74c89b65ec91dd8c60181"
}
},
"error": "template value should be a string @ data['device_id'][0]",
"result": {
"params": {
"domain": "cover",
"service": "close_cover",
"service_data": {},
"target": {
"device_id": [
[
"c042fda57770a7f83072e84315a5357f",
"35f58faa396ee578fba25b18413c0304"
]
]
}
},
"running_script": false
}
}
]
},
"config": {
"alias": "Cover open / close (Duplicate)",
"sequence": [
{
"data": {},
"action": "cover.close_cover",
"target": {
"device_id": "{{ f_cover_device }}"
}
}
],
"fields": {
"f_cover_device": {
"selector": {
"device": {
"multiple": true
}
},
"required": true,
"default": [
"c042fda57770a7f83072e84315a5357f",
"35f58faa396ee578fba25b18413c0304"
]
}
},
"description": "",
"icon": "mdi:window-shutter"
},
"blueprint_inputs": null,
"context": {
"id": "01JGV1PQW2WZW58C7J9MGXD4W3",
"parent_id": null,
"user_id": "fbb5706bd2c74c89b65ec91dd8c60181"
}
},
"logbookEntries": [
{
"state": "on",
"entity_id": "script.cover_open_close_duplicate",
"icon": "mdi:window-shutter",
"when": 1736074551.170596,
"context_user_id": "fbb5706bd2c74c89b65ec91dd8c60181"
},
{
"state": "off",
"entity_id": "script.cover_open_close_duplicate",
"icon": "mdi:window-shutter",
"when": 1736074551.1732595,
"context_user_id": "fbb5706bd2c74c89b65ec91dd8c60181",
"context_state": "on",
"context_entity_id": "script.cover_open_close_duplicate"
}
]
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment