{ "trace": { "last_step": "action/0/else/2", "run_id": "9354eaddaee29634919cf53b90a77737", "state": "running", "script_execution": null, "timestamp": { "start": "2023-09-04T04:56:50.552131+00:00", "finish": null }, "domain": "automation", "item_id": "1637064080860", "trigger": "state of input_boolean.lightson", "trace": { "trigger/0": [ { "path": "trigger/0", "timestamp": "2023-09-04T04:56:50.552240+00:00", "changed_variables": { "this": { "entity_id": "automation.zonsondergang", "state": "on", "attributes": { "id": "1637064080860", "last_triggered": "2023-09-03T18:15:50.337787+00:00", "mode": "single", "current": 0, "friendly_name": "Buitenlampen" }, "last_changed": "2023-09-03T16:58:33.709085+00:00", "last_updated": "2023-09-03T18:15:51.315844+00:00", "context": { "id": "01H9E446A1BQXZ2CCKDM8EN3BT", "parent_id": "01H9E4469W0PJJ1SD3CMY7PVTW", "user_id": null } }, "trigger": { "id": "0", "idx": "0", "alias": null, "platform": "state", "entity_id": "input_boolean.lightson", "from_state": { "entity_id": "input_boolean.lightson", "state": "on", "attributes": { "editable": true, "icon": "mdi:lightbulb-on-outline", "friendly_name": "LightsOn" }, "last_changed": "2023-09-03T18:15:50.337065+00:00", "last_updated": "2023-09-03T18:15:50.337065+00:00", "context": { "id": "01H9E4469W0PJJ1SD3CMY7PVTW", "parent_id": "01H9E42BPSCKS4ZHAHVHS5KKV0", "user_id": null } }, "to_state": { "entity_id": "input_boolean.lightson", "state": "off", "attributes": { "editable": true, "icon": "mdi:lightbulb-on-outline", "friendly_name": "LightsOn" }, "last_changed": "2023-09-04T04:56:50.550491+00:00", "last_updated": "2023-09-04T04:56:50.550491+00:00", "context": { "id": "01H9F8SX31PCMA936C271T7Y9Y", "parent_id": "01H9F8R2FZAKEG0VPZF8M0H84N", "user_id": null } }, "for": null, "attribute": null, "description": "state of input_boolean.lightson" } } } ], "action/0": [ { "path": "action/0", "timestamp": "2023-09-04T04:56:50.553679+00:00", "changed_variables": { "context": { "id": "01H9F8SX3R6Z7GQS1FCH5BNKG1", "parent_id": "01H9F8SX31PCMA936C271T7Y9Y", "user_id": null } }, "result": { "choice": "else" } } ], "action/0/if": [ { "path": "action/0/if", "timestamp": "2023-09-04T04:56:50.553788+00:00", "result": { "result": false } } ], "action/0/if/condition/0": [ { "path": "action/0/if/condition/0", "timestamp": "2023-09-04T04:56:50.553831+00:00", "result": { "result": false } } ], "action/0/if/condition/0/entity_id/0": [ { "path": "action/0/if/condition/0/entity_id/0", "timestamp": "2023-09-04T04:56:50.553876+00:00", "result": { "result": false, "state": "off", "wanted_state": "on" } } ], "action/0/else/0": [ { "path": "action/0/else/0", "timestamp": "2023-09-04T04:56:50.555851+00:00" } ], "action/0/else/1": [ { "path": "action/0/else/1", "timestamp": "2023-09-04T04:56:50.747237+00:00" } ], "action/0/else/2": [ { "path": "action/0/else/2", "timestamp": "2023-09-04T04:56:50.981015+00:00" } ] }, "config": { "id": "1637064080860", "alias": "Buitenlampen", "description": "", "trigger": [ { "platform": "state", "entity_id": [ "input_boolean.lightson" ] } ], "condition": [], "action": [ { "if": [ { "condition": "state", "entity_id": "input_boolean.lightson", "state": "on" } ], "then": [ { "type": "turn_on", "device_id": "2d406ae9770ffc72121649a5d6379f8d", "entity_id": "switch.kandelaars_voordeur", "domain": "switch" }, { "type": "turn_on", "device_id": "80183b6fb94575eb730215f903559016", "entity_id": "light.ledstrip_garagedeur", "domain": "light", "brightness_pct": 8 }, { "type": "turn_on", "device_id": "4265c76462945da9cd29fcdf74e15c32", "entity_id": "light.ledstrip_overkapping", "domain": "light", "brightness_pct": 4 }, { "service": "switch.turn_on", "data": {}, "target": { "entity_id": [ "switch.stopcontact_voor", "switch.sonoff_1" ] }, "enabled": false } ], "else": [ { "type": "turn_off", "device_id": "2d406ae9770ffc72121649a5d6379f8d", "entity_id": "switch.kandelaars_voordeur", "domain": "switch" }, { "type": "turn_off", "device_id": "80183b6fb94575eb730215f903559016", "entity_id": "light.ledstrip_garagedeur", "domain": "light", "brightness_pct": 8 }, { "type": "turn_off", "device_id": "4265c76462945da9cd29fcdf74e15c32", "entity_id": "light.ledstrip_overkapping", "domain": "light", "brightness_pct": 4 }, { "service": "switch.turn_off", "data": {}, "target": { "entity_id": [ "switch.stopcontact_achter", "switch.stopcontact_voor", "switch.hanglamp", "switch.sonoff_1" ] } } ] } ], "mode": "single" }, "blueprint_inputs": null, "context": { "id": "01H9F8SX3R6Z7GQS1FCH5BNKG1", "parent_id": "01H9F8SX31PCMA936C271T7Y9Y", "user_id": null } }, "logbookEntries": [ { "name": "Buitenlampen", "message": "triggered by state of input_boolean.lightson", "source": "state of input_boolean.lightson", "entity_id": "automation.zonsondergang", "context_id": "01H9F8SX3R6Z7GQS1FCH5BNKG1", "when": 1693803410.552369, "domain": "automation" }, { "when": 1693803410.743362, "state": "off", "entity_id": "switch.kandelaars_voordeur", "context_event_type": "automation_triggered", "context_domain": "automation", "context_name": "Buitenlampen", "context_message": "triggered by state of input_boolean.lightson", "context_source": "state of input_boolean.lightson", "context_entity_id": "automation.zonsondergang" }, { "when": 1693803410.977338, "state": "off", "entity_id": "light.ledstrip_garagedeur", "context_event_type": "automation_triggered", "context_domain": "automation", "context_name": "Buitenlampen", "context_message": "triggered by state of input_boolean.lightson", "context_source": "state of input_boolean.lightson", "context_entity_id": "automation.zonsondergang" }, { "when": 1693803411.65225, "state": "off", "entity_id": "light.ledstrip_overkapping", "icon": "mdi:led-strip-variant", "context_event_type": "automation_triggered", "context_domain": "automation", "context_name": "Buitenlampen", "context_message": "triggered by state of input_boolean.lightson", "context_source": "state of input_boolean.lightson", "context_entity_id": "automation.zonsondergang" } ] }