trace automation.sunset 2024-01-28T01_02_11.514111+00_00.json
{
"trace": {
"last_step": "action/4",
"run_id": "ed3949728c8df0563ae0b908b5bb80d4",
"state": "stopped",
"script_execution": "finished",
"timestamp": {
"start": "2024-01-28T01:02:11.514111+00:00",
"finish": "2024-01-28T01:02:22.389679+00:00"
},
"domain": "automation",
"item_id": "1632206235644",
"trigger": "sunset",
"trace": {
"trigger/0": [
{
"path": "trigger/0",
"timestamp": "2024-01-28T01:02:11.514160+00:00",
"changed_variables": {
"this": {
"entity_id": "automation.sunset",
"state": "on",
"attributes": {
"id": "1632206235644",
"last_triggered": "2024-01-27T01:00:39.085595+00:00",
"mode": "single",
"current": 0,
"icon": "hass:weather-sunset-down",
"friendly_name": "Sunset"
},
"last_changed": "2024-01-24T05:33:09.328619+00:00",
"last_updated": "2024-01-27T01:00:40.383554+00:00",
"context": {
"id": "01HN46XMSDQGR1VRC6W13QVTQM",
"parent_id": null,
"user_id": null
}
},
"trigger": {
"id": "0",
"idx": "0",
"alias": null,
"platform": "sun",
"event": "sunset",
"offset": {
"__type": "<class 'datetime.timedelta'>",
"total_seconds": 0
},
"description": "sunset"
}
}
}
],
"action/0": [
{
"path": "action/0",
"timestamp": "2024-01-28T01:02:11.514792+00:00",
"changed_variables": {
"context": {
"id": "01HN6SD61T6KC7WGKBQPT8CSCF",
"parent_id": null,
"user_id": null
}
},
"result": {
"params": {
"domain": "scene",
"service": "turn_on",
"service_data": {},
"target": {
"entity_id": [
"scene.shades_privacy"
]
}
},
"running_script": false
}
}
],
"action/0/0": [
{
"path": "action/0/0",
"timestamp": "2024-01-28T01:02:11.516901+00:00",
"changed_variables": {
"this": {
"entity_id": "cover.bedroom_back_bottom_shade",
"state": "closed",
"attributes": {
"current_position": 0,
"device_class": "shade",
"friendly_name": "Bedroom Back Bottom Shade",
"supported_features": 7
},
"last_changed": "2024-01-28T01:02:11.518486+00:00",
"last_updated": "2024-01-28T01:02:11.518486+00:00",
"context": {
"id": "01HN6SD61T6KC7WGKBQPT8CSCF",
"parent_id": null,
"user_id": null
}
}
},
"result": {
"params": {
"domain": "input_number",
"service": "set_value",
"service_data": {
"value": 0,
"entity_id": [
"input_number.bedroom_back_bottom_shade"
]
},
"target": {
"entity_id": [
"input_number.bedroom_back_bottom_shade"
]
}
},
"running_script": false
}
}
],
"action/0/0/0": [
{
"path": "action/0/0/0",
"timestamp": "2024-01-28T01:02:11.517061+00:00",
"changed_variables": {
"this": {
"entity_id": "cover.bedroom_back_top_shade",
"state": "open",
"attributes": {
"current_position": 45,
"device_class": "shade",
"friendly_name": "Bedroom Back Top Shade",
"supported_features": 7
},
"last_changed": "2024-01-28T09:20:13.937282+00:00",
"last_updated": "2024-01-28T09:20:13.937282+00:00",
"context": {
"id": "01HN7NX4396FMDP9K5WXXXFC95",
"parent_id": null,
"user_id": "94bead1a9bc84841b1a30aecee97c504"
}
},
"position": 45
},
"result": {
"params": {
"domain": "input_number",
"service": "set_value",
"service_data": {
"value": 45,
"entity_id": [
"input_number.bedroom_back_top_shade"
]
},
"target": {
"entity_id": [
"input_number.bedroom_back_top_shade"
]
}
},
"running_script": false
}
}
],
"action/0/0/0/0": [
{
"path": "action/0/0/0/0",
"timestamp": "2024-01-28T01:02:11.517223+00:00",
"changed_variables": {
"this": {
"entity_id": "cover.bathroom_bottom_shade",
"state": "closed",
"attributes": {
"current_position": 0,
"device_class": "shade",
"friendly_name": "Bathroom Bottom Shade",
"supported_features": 7
},
"last_changed": "2024-01-28T01:02:11.518784+00:00",
"last_updated": "2024-01-28T01:02:11.518784+00:00",
"context": {
"id": "01HN6SD61T6KC7WGKBQPT8CSCF",
"parent_id": null,
"user_id": null
}
}
},
"result": {
"params": {
"domain": "input_number",
"service": "set_value",
"service_data": {
"value": 0,
"entity_id": [
"input_number.bathroom_bottom_shade"
]
},
"target": {
"entity_id": [
"input_number.bathroom_bottom_shade"
]
}
},
"running_script": false
}
}
],
"action/0/0/0/0/0": [
{
"path": "action/0/0/0/0/0",
"timestamp": "2024-01-28T01:02:11.517332+00:00",
"changed_variables": {
"this": {
"entity_id": "cover.bathroom_top_shade",
"state": "open",
"attributes": {
"current_position": 55,
"device_class": "shade",
"friendly_name": "Bathroom Top Shade",
"supported_features": 7
},
"last_changed": "2024-01-28T09:20:13.937481+00:00",
"last_updated": "2024-01-28T09:20:13.937481+00:00",
"context": {
"id": "01HN7NX4396FMDP9K5WXXXFC95",
"parent_id": null,
"user_id": "94bead1a9bc84841b1a30aecee97c504"
}
},
"position": 55
},
"result": {
"params": {
"domain": "input_number",
"service": "set_value",
"service_data": {
"value": 55,
"entity_id": [
"input_number.bathroom_top_shade"
]
},
"target": {
"entity_id": [
"input_number.bathroom_top_shade"
]
}
},
"running_script": false
}
}
],
"action/1": [
{
"path": "action/1",
"timestamp": "2024-01-28T01:02:11.519741+00:00",
"child_id": {
"domain": "script",
"item_id": "festive_lights",
"run_id": "975c171b56298dc3f64b1c504e9ef059"
},
"result": {
"params": {
"domain": "script",
"service": "turn_on",
"service_data": {},
"target": {
"entity_id": [
"script.festive_lights"
]
}
},
"running_script": true
}
}
],
"action/2": [
{
"path": "action/2",
"timestamp": "2024-01-28T01:02:11.520558+00:00",
"result": {
"params": {
"domain": "light",
"service": "turn_on",
"service_data": {},
"target": {
"entity_id": [
"light.foyer_light",
"light.arcade_light",
"light.pac_man_light",
"light.lego_light",
"light.desk_light"
]
}
},
"running_script": false
}
}
],
"action/3": [
{
"path": "action/3",
"timestamp": "2024-01-28T01:02:22.178573+00:00",
"result": {
"params": {
"domain": "media_player",
"service": "volume_set",
"service_data": {
"volume_level": 0.3,
"entity_id": [
"media_player.bathroom_echo"
]
},
"target": {
"entity_id": [
"media_player.bathroom_echo"
]
}
},
"running_script": false
}
}
],
"action/4": [
{
"path": "action/4",
"timestamp": "2024-01-28T01:02:22.388052+00:00",
"result": {
"params": {
"domain": "media_player",
"service": "play_media",
"service_data": {
"media_content_type": "custom",
"media_content_id": "Set brightness to 5",
"entity_id": [
"media_player.bathroom_echo"
]
},
"target": {
"entity_id": [
"media_player.bathroom_echo"
]
}
},
"running_script": false
}
}
]
},
"config": {
"id": "1632206235644",
"alias": "Sunset",
"description": "Run at sunset",
"trigger": [
{
"platform": "sun",
"event": "sunset",
"offset": 0
}
],
"condition": [],
"action": [
{
"service": "scene.turn_on",
"data": {},
"target": {
"entity_id": "scene.shades_privacy"
}
},
{
"service": "script.turn_on",
"data": {},
"target": {
"entity_id": "script.festive_lights"
}
},
{
"service": "light.turn_on",
"data": {},
"target": {
"entity_id": [
"light.foyer_light",
"light.arcade_light",
"light.pac_man_light",
"light.lego_light",
"light.desk_light"
]
}
},
{
"service": "media_player.volume_set",
"data": {
"volume_level": 0.3
},
"target": {
"entity_id": "media_player.bathroom_echo"
}
},
{
"service": "media_player.play_media",
"data": {
"media_content_type": "custom",
"media_content_id": "Set brightness to 5"
},
"target": {
"entity_id": "media_player.bathroom_echo"
}
}
],
"mode": "single"
},
"blueprint_inputs": null,
"context": {
"id": "01HN6SD61T6KC7WGKBQPT8CSCF",
"parent_id": null,
"user_id": null
}
},
"logbookEntries": [
{
"name": "Sunset",
"message": "triggered by sunset",
"source": "sunset",
"entity_id": "automation.sunset",
"context_id": "01HN6SD61T6KC7WGKBQPT8CSCF",
"when": 1706403731.514198,
"domain": "automation"
},
{
"when": 1706403731.515313,
"state": "2024-01-28T01:02:11.515288+00:00",
"entity_id": "scene.shades_privacy",
"icon": "mdi:roller-shade-closed",
"context_event_type": "automation_triggered",
"context_domain": "automation",
"context_name": "Sunset",
"context_message": "triggered by sunset",
"context_source": "sunset",
"context_entity_id": "automation.sunset"
},
{
"when": 1706403731.517835,
"state": "Privacy",
"entity_id": "input_select.shades_scene",
"icon": "mdi:roller-shade",
"context_event_type": "automation_triggered",
"context_domain": "automation",
"context_name": "Sunset",
"context_message": "triggered by sunset",
"context_source": "sunset",
"context_entity_id": "automation.sunset"
},
{
"when": 1706403731.517957,
"state": "0.0",
"entity_id": "input_number.bedroom_back_bottom_shade",
"icon": "mdi:roller-shade-closed",
"context_event_type": "automation_triggered",
"context_domain": "automation",
"context_name": "Sunset",
"context_message": "triggered by sunset",
"context_source": "sunset",
"context_entity_id": "automation.sunset"
},
{
"when": 1706403731.518033,
"state": "45.0",
"entity_id": "input_number.bedroom_back_top_shade",
"icon": "mdi:roller-shade",
"context_event_type": "automation_triggered",
"context_domain": "automation",
"context_name": "Sunset",
"context_message": "triggered by sunset",
"context_source": "sunset",
"context_entity_id": "automation.sunset"
},
{
"when": 1706403731.518086,
"state": "0.0",
"entity_id": "input_number.bathroom_bottom_shade",
"icon": "mdi:roller-shade-closed",
"context_event_type": "automation_triggered",
"context_domain": "automation",
"context_name": "Sunset",
"context_message": "triggered by sunset",
"context_source": "sunset",
"context_entity_id": "automation.sunset"
},
{
"when": 1706403731.518136,
"state": "55.0",
"entity_id": "input_number.bathroom_top_shade",
"icon": "mdi:roller-shade",
"context_event_type": "automation_triggered",
"context_domain": "automation",
"context_name": "Sunset",
"context_message": "triggered by sunset",
"context_source": "sunset",
"context_entity_id": "automation.sunset"
},
{
"when": 1706403731.518486,
"state": "closed",
"entity_id": "cover.bedroom_back_bottom_shade",
"context_event_type": "automation_triggered",
"context_domain": "automation",
"context_name": "Sunset",
"context_message": "triggered by sunset",
"context_source": "sunset",
"context_entity_id": "automation.sunset"
},
{
"when": 1706403731.51865,
"state": "open",
"entity_id": "cover.bedroom_back_top_shade",
"context_event_type": "automation_triggered",
"context_domain": "automation",
"context_name": "Sunset",
"context_message": "triggered by sunset",
"context_source": "sunset",
"context_entity_id": "automation.sunset"
},
{
"when": 1706403731.518784,
"state": "closed",
"entity_id": "cover.bathroom_bottom_shade",
"context_event_type": "automation_triggered",
"context_domain": "automation",
"context_name": "Sunset",
"context_message": "triggered by sunset",
"context_source": "sunset",
"context_entity_id": "automation.sunset"
},
{
"when": 1706403731.518906,
"state": "open",
"entity_id": "cover.bathroom_top_shade",
"context_event_type": "automation_triggered",
"context_domain": "automation",
"context_name": "Sunset",
"context_message": "triggered by sunset",
"context_source": "sunset",
"context_entity_id": "automation.sunset"
},
{
"name": "Festive Lights",
"message": "started",
"entity_id": "script.festive_lights",
"context_id": "01HN6SD61T6KC7WGKBQPT8CSCF",
"when": 1706403731.519933,
"domain": "script",
"context_event_type": "automation_triggered",
"context_domain": "automation",
"context_name": "Sunset",
"context_message": "triggered by sunset",
"context_source": "sunset",
"context_entity_id": "automation.sunset"
},
{
"when": 1706403731.520087,
"state": "on",
"entity_id": "script.festive_lights",
"icon": "mdi:string-lights",
"context_event_type": "automation_triggered",
"context_domain": "automation",
"context_name": "Sunset",
"context_message": "triggered by sunset",
"context_source": "sunset",
"context_entity_id": "automation.sunset"
},
{
"name": "Flood Lights Default Color",
"message": "started",
"entity_id": "script.flood_lights_default_color",
"context_id": "01HN6SD61T6KC7WGKBQPT8CSCF",
"when": 1706403731.52095,
"domain": "script",
"context_event_type": "automation_triggered",
"context_domain": "automation",
"context_name": "Sunset",
"context_message": "triggered by sunset",
"context_source": "sunset",
"context_entity_id": "automation.sunset"
},
{
"when": 1706403731.521092,
"state": "on",
"entity_id": "script.flood_lights_default_color",
"icon": "mdi:light-flood-up",
"context_event_type": "automation_triggered",
"context_domain": "automation",
"context_name": "Sunset",
"context_message": "triggered by sunset",
"context_source": "sunset",
"context_entity_id": "automation.sunset"
},
{
"when": 1706403731.526204,
"state": "off",
"entity_id": "script.festive_lights",
"icon": "mdi:string-lights",
"context_event_type": "automation_triggered",
"context_domain": "automation",
"context_name": "Sunset",
"context_message": "triggered by sunset",
"context_source": "sunset",
"context_entity_id": "automation.sunset"
},
{
"when": 1706403731.649734,
"state": "on",
"entity_id": "light.foyer_light",
"context_event_type": "automation_triggered",
"context_domain": "automation",
"context_name": "Sunset",
"context_message": "triggered by sunset",
"context_source": "sunset",
"context_entity_id": "automation.sunset"
},
{
"when": 1706403731.650409,
"state": "on",
"entity_id": "light.first_floor_lights",
"icon": "mdi:lightbulb-group",
"context_event_type": "automation_triggered",
"context_domain": "automation",
"context_name": "Sunset",
"context_message": "triggered by sunset",
"context_source": "sunset",
"context_entity_id": "automation.sunset"
},
{
"when": 1706403731.650924,
"state": "on",
"entity_id": "light.indoor_lights",
"icon": "mdi:lightbulb-group",
"context_event_type": "automation_triggered",
"context_domain": "automation",
"context_name": "Sunset",
"context_message": "triggered by sunset",
"context_source": "sunset",
"context_entity_id": "automation.sunset"
},
{
"when": 1706403731.651569,
"state": "on",
"entity_id": "light.all_lights",
"icon": "mdi:lightbulb-group",
"context_event_type": "automation_triggered",
"context_domain": "automation",
"context_name": "Sunset",
"context_message": "triggered by sunset",
"context_source": "sunset",
"context_entity_id": "automation.sunset"
},
{
"when": 1706403732.003142,
"state": "off",
"entity_id": "script.flood_lights_default_color",
"icon": "mdi:light-flood-up",
"context_event_type": "automation_triggered",
"context_domain": "automation",
"context_name": "Sunset",
"context_message": "triggered by sunset",
"context_source": "sunset",
"context_entity_id": "automation.sunset"
}
]
}