Last active
September 6, 2022 14:09
-
-
Save cpressland/2c60dd670605b59dced76abce86c74c8 to your computer and use it in GitHub Desktop.
HA Automation Trace
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"trace": { | |
"last_step": "action/0/parallel/1/sequence/0", | |
"run_id": "7cf921a5156ce1aa356e69f734ccb839", | |
"state": "stopped", | |
"script_execution": "finished", | |
"timestamp": { | |
"start": "2022-09-05T23:00:00.002373+00:00", | |
"finish": "2022-09-05T23:00:00.428811+00:00" | |
}, | |
"domain": "automation", | |
"item_id": "1662298790578", | |
"trigger": "time", | |
"trace": { | |
"trigger/0": [ | |
{ | |
"path": "trigger/0", | |
"timestamp": "2022-09-05T23:00:00.002590+00:00", | |
"changed_variables": { | |
"this": { | |
"entity_id": "automation.bedroom_time_midnight", | |
"state": "on", | |
"attributes": { | |
"last_triggered": "2022-09-04T23:00:00.005539+00:00", | |
"mode": "single", | |
"current": 0, | |
"id": "1662298790578", | |
"friendly_name": "bedroom.time.midnight" | |
}, | |
"last_changed": "2022-09-05T22:35:54.414056+00:00", | |
"last_updated": "2022-09-05T22:35:54.414056+00:00", | |
"context": { | |
"id": "01GC7WQFNEMVYVR0Z73DPDBJF4", | |
"parent_id": null, | |
"user_id": null | |
} | |
}, | |
"trigger": { | |
"id": "0", | |
"idx": "0", | |
"alias": null, | |
"platform": "time", | |
"now": "2022-09-06T00:00:00.000286+01:00", | |
"description": "time", | |
"entity_id": null | |
} | |
} | |
} | |
], | |
"condition/0": [ | |
{ | |
"path": "condition/0", | |
"timestamp": "2022-09-05T23:00:00.002868+00:00", | |
"result": { | |
"result": true | |
} | |
} | |
], | |
"condition/0/conditions/0": [ | |
{ | |
"path": "condition/0/conditions/0", | |
"timestamp": "2022-09-05T23:00:00.003002+00:00", | |
"result": { | |
"result": true | |
} | |
}, | |
{ | |
"path": "condition/0/conditions/0", | |
"timestamp": "2022-09-05T23:00:00.003080+00:00", | |
"result": { | |
"result": true | |
} | |
} | |
], | |
"condition/0/conditions/0/entity_id/0": [ | |
{ | |
"path": "condition/0/conditions/0/entity_id/0", | |
"timestamp": "2022-09-05T23:00:00.003184+00:00", | |
"result": { | |
"result": true, | |
"state": "on", | |
"wanted_state": "on" | |
} | |
} | |
], | |
"action/0": [ | |
{ | |
"path": "action/0", | |
"timestamp": "2022-09-05T23:00:00.013718+00:00", | |
"changed_variables": { | |
"context": { | |
"id": "01GC7Y3KC2CGN0W2X91VEKT17R", | |
"parent_id": null, | |
"user_id": null | |
} | |
} | |
} | |
], | |
"action/0/parallel/0/sequence/0": [ | |
{ | |
"path": "action/0/parallel/0/sequence/0", | |
"timestamp": "2022-09-05T23:00:00.019633+00:00", | |
"result": { | |
"params": { | |
"domain": "light", | |
"service": "turn_off", | |
"service_data": { | |
"transition": 30, | |
"entity_id": [ | |
"light.dresden_elektronik_conbee_ii_bedroom_bedside_lamps_zha_group_0x0003" | |
] | |
}, | |
"target": { | |
"entity_id": [ | |
"light.dresden_elektronik_conbee_ii_bedroom_bedside_lamps_zha_group_0x0003" | |
] | |
} | |
}, | |
"running_script": false, | |
"limit": 10 | |
} | |
} | |
], | |
"action/0/parallel/1/sequence/0": [ | |
{ | |
"path": "action/0/parallel/1/sequence/0", | |
"timestamp": "2022-09-05T23:00:00.020234+00:00", | |
"result": { | |
"params": { | |
"domain": "light", | |
"service": "turn_on", | |
"service_data": { | |
"transition": 30, | |
"brightness_pct": 100, | |
"rgb_color": [ | |
108, | |
181, | |
253 | |
], | |
"entity_id": [ | |
"light.bedroom_bed_headboard_level_light_color_on_off" | |
] | |
}, | |
"target": { | |
"entity_id": [ | |
"light.bedroom_bed_headboard_level_light_color_on_off" | |
] | |
} | |
}, | |
"running_script": false, | |
"limit": 10 | |
} | |
} | |
] | |
}, | |
"config": { | |
"id": "1662298790578", | |
"alias": "bedroom.time.midnight", | |
"description": "", | |
"trigger": [ | |
{ | |
"platform": "time", | |
"at": "00:00:00" | |
} | |
], | |
"condition": [ | |
{ | |
"condition": "or", | |
"conditions": [ | |
{ | |
"condition": "device", | |
"type": "is_on", | |
"device_id": "8f2542ed645d2457450ca918427cfe34", | |
"entity_id": "light.signify_netherlands_b_v_ltw012_level_light_color_on_off", | |
"domain": "light" | |
}, | |
{ | |
"condition": "device", | |
"type": "is_on", | |
"device_id": "c49223d84df1e0f422a07c12d90538db", | |
"entity_id": "light.signify_netherlands_b_v_ltw012_a144c404_level_light_color_on_off", | |
"domain": "light" | |
} | |
] | |
} | |
], | |
"action": [ | |
{ | |
"parallel": [ | |
{ | |
"service": "light.turn_off", | |
"data": { | |
"transition": 30 | |
}, | |
"target": { | |
"entity_id": "light.dresden_elektronik_conbee_ii_bedroom_bedside_lamps_zha_group_0x0003" | |
} | |
}, | |
{ | |
"service": "light.turn_on", | |
"data": { | |
"transition": 30, | |
"brightness_pct": 100, | |
"rgb_color": [ | |
108, | |
181, | |
253 | |
] | |
}, | |
"target": { | |
"entity_id": "light.bedroom_bed_headboard_level_light_color_on_off" | |
} | |
} | |
] | |
} | |
], | |
"mode": "single" | |
}, | |
"blueprint_inputs": null, | |
"context": { | |
"id": "01GC7Y3KC2CGN0W2X91VEKT17R", | |
"parent_id": null, | |
"user_id": null | |
} | |
}, | |
"logbookEntries": [ | |
{ | |
"name": "bedroom.time.midnight", | |
"message": "triggered by time", | |
"source": "time", | |
"entity_id": "automation.bedroom_time_midnight", | |
"context_id": "01GC7Y3KC2CGN0W2X91VEKT17R", | |
"when": 1662418800.003784, | |
"domain": "automation" | |
}, | |
{ | |
"when": 1662418800.421619, | |
"state": "on", | |
"entity_id": "light.bedroom_bed_headboard_level_light_color_on_off", | |
"context_event_type": "automation_triggered", | |
"context_domain": "automation", | |
"context_name": "bedroom.time.midnight", | |
"context_message": "triggered by time", | |
"context_source": "time", | |
"context_entity_id": "automation.bedroom_time_midnight" | |
} | |
] | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment