Files
home-assistant/.storage/trace.saved_traces

7270 lines
285 KiB
Plaintext

{
"version": 1,
"minor_version": 1,
"key": "trace.saved_traces",
"data": {
"automation.1709332450679": [
{
"extended_dict": {
"last_step": "action/0",
"run_id": "214ae1769559a73a9b8b8a7f9547ced3",
"state": "stopped",
"script_execution": "finished",
"timestamp": {
"start": "2024-10-24T19:17:36.861482+00:00",
"finish": "2024-10-24T19:17:36.876778+00:00"
},
"domain": "automation",
"item_id": "1709332450679",
"trigger": "state of binary_sensor.bagnopt_finestra_contact",
"trace": {
"trigger/0": [
{
"path": "trigger/0",
"timestamp": "2024-10-24T19:17:36.862058+00:00",
"changed_variables": {
"this": {
"entity_id": "automation.finestra_bagno_pt_restart_heating",
"state": "on",
"attributes": {
"id": "1709332450679",
"last_triggered": "2024-10-24T09:52:39.391005+00:00",
"mode": "single",
"current": 0,
"friendly_name": "Bagno-PT-restart_heating"
},
"last_changed": "2024-10-23T23:34:55.057103+00:00",
"last_reported": "2024-10-24T09:52:39.435205+00:00",
"last_updated": "2024-10-24T09:52:39.435205+00:00",
"context": {
"id": "01JAYZ2HYXD1W5TMYSN2KFX7KY",
"parent_id": "01JAYZ2HYSTPZNZ0M57PKQFEW8",
"user_id": null
}
},
"trigger": {
"id": "0",
"idx": "0",
"alias": null,
"platform": "device",
"entity_id": "binary_sensor.bagnopt_finestra_contact",
"from_state": {
"entity_id": "binary_sensor.bagnopt_finestra_contact",
"state": "on",
"attributes": {
"device_class": "door",
"friendly_name": "BagnoPT-Finestra Door"
},
"last_changed": "2024-10-24T19:17:23.485462+00:00",
"last_reported": "2024-10-24T19:17:23.485462+00:00",
"last_updated": "2024-10-24T19:17:23.485462+00:00",
"context": {
"id": "01JAZZCKWX7EGCTCV8QGQB6CFJ",
"parent_id": null,
"user_id": null
}
},
"to_state": {
"entity_id": "binary_sensor.bagnopt_finestra_contact",
"state": "off",
"attributes": {
"device_class": "door",
"friendly_name": "BagnoPT-Finestra Door"
},
"last_changed": "2024-10-24T19:17:36.858404+00:00",
"last_reported": "2024-10-24T19:17:36.858404+00:00",
"last_updated": "2024-10-24T19:17:36.858404+00:00",
"context": {
"id": "01JAZZD0YT4GRSWWQES0SP906A",
"parent_id": null,
"user_id": null
}
},
"for": null,
"attribute": null,
"description": "state of binary_sensor.bagnopt_finestra_contact"
}
}
}
],
"condition/0": [
{
"path": "condition/0",
"timestamp": "2024-10-24T19:17:36.862218+00:00",
"result": {
"result": true
}
}
],
"condition/0/entity_id/0": [
{
"path": "condition/0/entity_id/0",
"timestamp": "2024-10-24T19:17:36.862412+00:00",
"result": {
"result": true,
"state": 15.4
}
}
],
"action/0": [
{
"path": "action/0",
"timestamp": "2024-10-24T19:17:36.863784+00:00",
"changed_variables": {
"context": {
"id": "01JAZZD0YXT6XHW2C25XR5158Q",
"parent_id": "01JAZZD0YT4GRSWWQES0SP906A",
"user_id": null
}
}
}
]
},
"config": {
"id": "1709332450679",
"alias": "Bagno-PT-restart_heating",
"description": "When Finestra-Bagno-PT and window is closed and external temperature is below 18 set valvola termosifone to Auto",
"triggers": [
{
"type": "not_opened",
"trigger": "device",
"device_id": "f93100fe27b6e5bbb01435d9c7c62c39",
"entity_id": "e9b204a2e6a6c7c7c26ecb7099d87a11",
"domain": "binary_sensor"
}
],
"condition": [
{
"condition": "numeric_state",
"entity_id": "sensor.esterno_temperature",
"below": 18
}
],
"action": [
{
"device_id": "7743d6b58e5c464426e4b53416a74c7a",
"domain": "climate",
"entity_id": "d23578d0c01a087c7c2247fa8fab1113",
"type": "set_hvac_mode",
"hvac_mode": "heat"
}
],
"mode": "single"
},
"blueprint_inputs": null,
"context": {
"id": "01JAZZD0YXT6XHW2C25XR5158Q",
"parent_id": "01JAZZD0YT4GRSWWQES0SP906A",
"user_id": null
}
},
"short_dict": {
"last_step": "action/0",
"run_id": "214ae1769559a73a9b8b8a7f9547ced3",
"state": "stopped",
"script_execution": "finished",
"timestamp": {
"start": "2024-10-24T19:17:36.861482+00:00",
"finish": "2024-10-24T19:17:36.876778+00:00"
},
"domain": "automation",
"item_id": "1709332450679",
"trigger": "state of binary_sensor.bagnopt_finestra_contact"
}
},
{
"extended_dict": {
"last_step": "action/0",
"run_id": "4a74b9ab9d097c4a3a420f88d49332a0",
"state": "stopped",
"script_execution": "finished",
"timestamp": {
"start": "2024-10-24T19:40:47.719995+00:00",
"finish": "2024-10-24T19:40:47.731225+00:00"
},
"domain": "automation",
"item_id": "1709332450679",
"trigger": "state of binary_sensor.bagnopt_finestra_contact",
"trace": {
"trigger/0": [
{
"path": "trigger/0",
"timestamp": "2024-10-24T19:40:47.720484+00:00",
"changed_variables": {
"this": {
"entity_id": "automation.finestra_bagno_pt_restart_heating",
"state": "on",
"attributes": {
"id": "1709332450679",
"last_triggered": "2024-10-24T19:17:36.862951+00:00",
"mode": "single",
"current": 0,
"friendly_name": "Bagno-PT-restart_heating"
},
"last_changed": "2024-10-23T23:34:55.057103+00:00",
"last_reported": "2024-10-24T19:17:36.868621+00:00",
"last_updated": "2024-10-24T19:17:36.868621+00:00",
"context": {
"id": "01JAZZD0YXT6XHW2C25XR5158Q",
"parent_id": "01JAZZD0YT4GRSWWQES0SP906A",
"user_id": null
}
},
"trigger": {
"id": "0",
"idx": "0",
"alias": null,
"platform": "device",
"entity_id": "binary_sensor.bagnopt_finestra_contact",
"from_state": {
"entity_id": "binary_sensor.bagnopt_finestra_contact",
"state": "on",
"attributes": {
"device_class": "door",
"friendly_name": "BagnoPT-Finestra Door"
},
"last_changed": "2024-10-24T19:30:42.987211+00:00",
"last_reported": "2024-10-24T19:30:42.987211+00:00",
"last_updated": "2024-10-24T19:30:42.987211+00:00",
"context": {
"id": "01JB0050NB6YAA3D9S75WGFB4S",
"parent_id": null,
"user_id": null
}
},
"to_state": {
"entity_id": "binary_sensor.bagnopt_finestra_contact",
"state": "off",
"attributes": {
"device_class": "door",
"friendly_name": "BagnoPT-Finestra Door"
},
"last_changed": "2024-10-24T19:40:47.718715+00:00",
"last_reported": "2024-10-24T19:40:47.718715+00:00",
"last_updated": "2024-10-24T19:40:47.718715+00:00",
"context": {
"id": "01JB00QF76DW9BFECS4CADNZMK",
"parent_id": null,
"user_id": null
}
},
"for": null,
"attribute": null,
"description": "state of binary_sensor.bagnopt_finestra_contact"
}
}
}
],
"condition/0": [
{
"path": "condition/0",
"timestamp": "2024-10-24T19:40:47.720568+00:00",
"result": {
"result": true
}
}
],
"condition/0/entity_id/0": [
{
"path": "condition/0/entity_id/0",
"timestamp": "2024-10-24T19:40:47.720612+00:00",
"result": {
"result": true,
"state": 15.4
}
}
],
"action/0": [
{
"path": "action/0",
"timestamp": "2024-10-24T19:40:47.721412+00:00",
"changed_variables": {
"context": {
"id": "01JB00QF779T82B0F2TS5BTK89",
"parent_id": "01JB00QF76DW9BFECS4CADNZMK",
"user_id": null
}
}
}
]
},
"config": {
"id": "1709332450679",
"alias": "Bagno-PT-restart_heating",
"description": "When Finestra-Bagno-PT and window is closed and external temperature is below 18 set valvola termosifone to Auto",
"triggers": [
{
"type": "not_opened",
"trigger": "device",
"device_id": "f93100fe27b6e5bbb01435d9c7c62c39",
"entity_id": "e9b204a2e6a6c7c7c26ecb7099d87a11",
"domain": "binary_sensor"
}
],
"condition": [
{
"condition": "numeric_state",
"entity_id": "sensor.esterno_temperature",
"below": 18
}
],
"action": [
{
"device_id": "7743d6b58e5c464426e4b53416a74c7a",
"domain": "climate",
"entity_id": "d23578d0c01a087c7c2247fa8fab1113",
"type": "set_hvac_mode",
"hvac_mode": "heat"
}
],
"mode": "single"
},
"blueprint_inputs": null,
"context": {
"id": "01JB00QF779T82B0F2TS5BTK89",
"parent_id": "01JB00QF76DW9BFECS4CADNZMK",
"user_id": null
}
},
"short_dict": {
"last_step": "action/0",
"run_id": "4a74b9ab9d097c4a3a420f88d49332a0",
"state": "stopped",
"script_execution": "finished",
"timestamp": {
"start": "2024-10-24T19:40:47.719995+00:00",
"finish": "2024-10-24T19:40:47.731225+00:00"
},
"domain": "automation",
"item_id": "1709332450679",
"trigger": "state of binary_sensor.bagnopt_finestra_contact"
}
},
{
"extended_dict": {
"last_step": "action/0",
"run_id": "64b91d4707782de8ae5b00a43403e445",
"state": "stopped",
"script_execution": "finished",
"timestamp": {
"start": "2024-10-25T07:02:48.823591+00:00",
"finish": "2024-10-25T07:02:48.831610+00:00"
},
"domain": "automation",
"item_id": "1709332450679",
"trigger": "state of binary_sensor.bagnopt_finestra_contact",
"trace": {
"trigger/0": [
{
"path": "trigger/0",
"timestamp": "2024-10-25T07:02:48.823938+00:00",
"changed_variables": {
"this": {
"entity_id": "automation.finestra_bagno_pt_restart_heating",
"state": "on",
"attributes": {
"id": "1709332450679",
"last_triggered": "2024-10-24T19:40:47.720877+00:00",
"mode": "single",
"current": 0,
"friendly_name": "Bagno-PT-restart_heating"
},
"last_changed": "2024-10-23T23:34:55.057103+00:00",
"last_reported": "2024-10-24T19:40:47.730140+00:00",
"last_updated": "2024-10-24T19:40:47.730140+00:00",
"context": {
"id": "01JB00QF779T82B0F2TS5BTK89",
"parent_id": "01JB00QF76DW9BFECS4CADNZMK",
"user_id": null
}
},
"trigger": {
"id": "0",
"idx": "0",
"alias": null,
"platform": "device",
"entity_id": "binary_sensor.bagnopt_finestra_contact",
"from_state": {
"entity_id": "binary_sensor.bagnopt_finestra_contact",
"state": "on",
"attributes": {
"device_class": "door",
"friendly_name": "BagnoPT-Finestra Door"
},
"last_changed": "2024-10-25T07:02:35.916481+00:00",
"last_reported": "2024-10-25T07:02:35.916481+00:00",
"last_updated": "2024-10-25T07:02:35.916481+00:00",
"context": {
"id": "01JB17QWMCD9EGBXX920DN85TQ",
"parent_id": null,
"user_id": null
}
},
"to_state": {
"entity_id": "binary_sensor.bagnopt_finestra_contact",
"state": "off",
"attributes": {
"device_class": "door",
"friendly_name": "BagnoPT-Finestra Door"
},
"last_changed": "2024-10-25T07:02:48.823041+00:00",
"last_reported": "2024-10-25T07:02:48.823041+00:00",
"last_updated": "2024-10-25T07:02:48.823041+00:00",
"context": {
"id": "01JB17R97QW9PYT1TBC61A2FB6",
"parent_id": null,
"user_id": null
}
},
"for": null,
"attribute": null,
"description": "state of binary_sensor.bagnopt_finestra_contact"
}
}
}
],
"condition/0": [
{
"path": "condition/0",
"timestamp": "2024-10-25T07:02:48.824016+00:00",
"result": {
"result": true
}
}
],
"condition/0/entity_id/0": [
{
"path": "condition/0/entity_id/0",
"timestamp": "2024-10-25T07:02:48.824099+00:00",
"result": {
"result": true,
"state": 15.0
}
}
],
"action/0": [
{
"path": "action/0",
"timestamp": "2024-10-25T07:02:48.824998+00:00",
"changed_variables": {
"context": {
"id": "01JB17R97QT6X7EVYHPR4A0SHF",
"parent_id": "01JB17R97QW9PYT1TBC61A2FB6",
"user_id": null
}
}
}
]
},
"config": {
"id": "1709332450679",
"alias": "Bagno-PT-restart_heating",
"description": "When Finestra-Bagno-PT and window is closed and external temperature is below 18 set valvola termosifone to Auto",
"triggers": [
{
"type": "not_opened",
"trigger": "device",
"device_id": "f93100fe27b6e5bbb01435d9c7c62c39",
"entity_id": "e9b204a2e6a6c7c7c26ecb7099d87a11",
"domain": "binary_sensor"
}
],
"condition": [
{
"condition": "numeric_state",
"entity_id": "sensor.esterno_temperature",
"below": 18
}
],
"action": [
{
"device_id": "7743d6b58e5c464426e4b53416a74c7a",
"domain": "climate",
"entity_id": "d23578d0c01a087c7c2247fa8fab1113",
"type": "set_hvac_mode",
"hvac_mode": "heat"
}
],
"mode": "single"
},
"blueprint_inputs": null,
"context": {
"id": "01JB17R97QT6X7EVYHPR4A0SHF",
"parent_id": "01JB17R97QW9PYT1TBC61A2FB6",
"user_id": null
}
},
"short_dict": {
"last_step": "action/0",
"run_id": "64b91d4707782de8ae5b00a43403e445",
"state": "stopped",
"script_execution": "finished",
"timestamp": {
"start": "2024-10-25T07:02:48.823591+00:00",
"finish": "2024-10-25T07:02:48.831610+00:00"
},
"domain": "automation",
"item_id": "1709332450679",
"trigger": "state of binary_sensor.bagnopt_finestra_contact"
}
},
{
"extended_dict": {
"last_step": "action/0",
"run_id": "c41ef86e6202743a4615cd4e88aa7b39",
"state": "stopped",
"script_execution": "finished",
"timestamp": {
"start": "2024-10-25T09:16:59.335350+00:00",
"finish": "2024-10-25T09:16:59.341676+00:00"
},
"domain": "automation",
"item_id": "1709332450679",
"trigger": "state of binary_sensor.bagnopt_finestra_contact",
"trace": {
"trigger/0": [
{
"path": "trigger/0",
"timestamp": "2024-10-25T09:16:59.335734+00:00",
"changed_variables": {
"this": {
"entity_id": "automation.finestra_bagno_pt_restart_heating",
"state": "on",
"attributes": {
"id": "1709332450679",
"last_triggered": "2024-10-25T07:02:48.824422+00:00",
"mode": "single",
"current": 0,
"friendly_name": "Bagno-PT-restart_heating"
},
"last_changed": "2024-10-23T23:34:55.057103+00:00",
"last_reported": "2024-10-25T07:02:48.830820+00:00",
"last_updated": "2024-10-25T07:02:48.830820+00:00",
"context": {
"id": "01JB17R97QT6X7EVYHPR4A0SHF",
"parent_id": "01JB17R97QW9PYT1TBC61A2FB6",
"user_id": null
}
},
"trigger": {
"id": "0",
"idx": "0",
"alias": null,
"platform": "device",
"entity_id": "binary_sensor.bagnopt_finestra_contact",
"from_state": {
"entity_id": "binary_sensor.bagnopt_finestra_contact",
"state": "on",
"attributes": {
"device_class": "door",
"friendly_name": "BagnoPT-Finestra Door"
},
"last_changed": "2024-10-25T07:14:37.260293+00:00",
"last_reported": "2024-10-25T07:14:37.260293+00:00",
"last_updated": "2024-10-25T07:14:37.260293+00:00",
"context": {
"id": "01JB18DX2C8DSQFMQE7PHM28AN",
"parent_id": null,
"user_id": null
}
},
"to_state": {
"entity_id": "binary_sensor.bagnopt_finestra_contact",
"state": "off",
"attributes": {
"device_class": "door",
"friendly_name": "BagnoPT-Finestra Door"
},
"last_changed": "2024-10-25T09:16:59.333270+00:00",
"last_reported": "2024-10-25T09:16:59.333270+00:00",
"last_updated": "2024-10-25T09:16:59.333270+00:00",
"context": {
"id": "01JB1FDZ25R9THZ5JXFMMY2JVV",
"parent_id": null,
"user_id": null
}
},
"for": null,
"attribute": null,
"description": "state of binary_sensor.bagnopt_finestra_contact"
}
}
}
],
"condition/0": [
{
"path": "condition/0",
"timestamp": "2024-10-25T09:16:59.335810+00:00",
"result": {
"result": true
}
}
],
"condition/0/entity_id/0": [
{
"path": "condition/0/entity_id/0",
"timestamp": "2024-10-25T09:16:59.335878+00:00",
"result": {
"result": true,
"state": 15.4
}
}
],
"action/0": [
{
"path": "action/0",
"timestamp": "2024-10-25T09:16:59.336925+00:00",
"changed_variables": {
"context": {
"id": "01JB1FDZ272NR55JYA65PTX8A1",
"parent_id": "01JB1FDZ25R9THZ5JXFMMY2JVV",
"user_id": null
}
}
}
]
},
"config": {
"id": "1709332450679",
"alias": "Bagno-PT-restart_heating",
"description": "When Finestra-Bagno-PT and window is closed and external temperature is below 18 set valvola termosifone to Auto",
"triggers": [
{
"type": "not_opened",
"trigger": "device",
"device_id": "f93100fe27b6e5bbb01435d9c7c62c39",
"entity_id": "e9b204a2e6a6c7c7c26ecb7099d87a11",
"domain": "binary_sensor"
}
],
"condition": [
{
"condition": "numeric_state",
"entity_id": "sensor.esterno_temperature",
"below": 18
}
],
"action": [
{
"device_id": "7743d6b58e5c464426e4b53416a74c7a",
"domain": "climate",
"entity_id": "d23578d0c01a087c7c2247fa8fab1113",
"type": "set_hvac_mode",
"hvac_mode": "heat"
}
],
"mode": "single"
},
"blueprint_inputs": null,
"context": {
"id": "01JB1FDZ272NR55JYA65PTX8A1",
"parent_id": "01JB1FDZ25R9THZ5JXFMMY2JVV",
"user_id": null
}
},
"short_dict": {
"last_step": "action/0",
"run_id": "c41ef86e6202743a4615cd4e88aa7b39",
"state": "stopped",
"script_execution": "finished",
"timestamp": {
"start": "2024-10-25T09:16:59.335350+00:00",
"finish": "2024-10-25T09:16:59.341676+00:00"
},
"domain": "automation",
"item_id": "1709332450679",
"trigger": "state of binary_sensor.bagnopt_finestra_contact"
}
},
{
"extended_dict": {
"last_step": "action/0",
"run_id": "13651817c34df1b33a4b2c24b30c960a",
"state": "stopped",
"script_execution": "finished",
"timestamp": {
"start": "2024-10-25T12:37:46.784060+00:00",
"finish": "2024-10-25T12:37:46.797313+00:00"
},
"domain": "automation",
"item_id": "1709332450679",
"trigger": "state of binary_sensor.bagnopt_finestra_contact",
"trace": {
"trigger/0": [
{
"path": "trigger/0",
"timestamp": "2024-10-25T12:37:46.784881+00:00",
"changed_variables": {
"this": {
"entity_id": "automation.finestra_bagno_pt_restart_heating",
"state": "on",
"attributes": {
"id": "1709332450679",
"last_triggered": "2024-10-25T09:16:59.336503+00:00",
"mode": "single",
"current": 0,
"friendly_name": "Bagno-PT-restart_heating"
},
"last_changed": "2024-10-23T23:34:55.057103+00:00",
"last_reported": "2024-10-25T09:16:59.341328+00:00",
"last_updated": "2024-10-25T09:16:59.341328+00:00",
"context": {
"id": "01JB1FDZ272NR55JYA65PTX8A1",
"parent_id": "01JB1FDZ25R9THZ5JXFMMY2JVV",
"user_id": null
}
},
"trigger": {
"id": "0",
"idx": "0",
"alias": null,
"platform": "device",
"entity_id": "binary_sensor.bagnopt_finestra_contact",
"from_state": {
"entity_id": "binary_sensor.bagnopt_finestra_contact",
"state": "on",
"attributes": {
"device_class": "door",
"friendly_name": "BagnoPT-Finestra Door"
},
"last_changed": "2024-10-25T12:35:20.252021+00:00",
"last_reported": "2024-10-25T12:35:20.252021+00:00",
"last_updated": "2024-10-25T12:35:20.252021+00:00",
"context": {
"id": "01JB1TS51WHSZ467ZX8A5Z4994",
"parent_id": null,
"user_id": null
}
},
"to_state": {
"entity_id": "binary_sensor.bagnopt_finestra_contact",
"state": "off",
"attributes": {
"device_class": "door",
"friendly_name": "BagnoPT-Finestra Door"
},
"last_changed": "2024-10-25T12:37:46.782380+00:00",
"last_reported": "2024-10-25T12:37:46.782380+00:00",
"last_updated": "2024-10-25T12:37:46.782380+00:00",
"context": {
"id": "01JB1TXM4Y8VTTHW2TQQ57VVJF",
"parent_id": null,
"user_id": null
}
},
"for": null,
"attribute": null,
"description": "state of binary_sensor.bagnopt_finestra_contact"
}
}
}
],
"condition/0": [
{
"path": "condition/0",
"timestamp": "2024-10-25T12:37:46.785131+00:00",
"result": {
"result": true
}
}
],
"condition/0/entity_id/0": [
{
"path": "condition/0/entity_id/0",
"timestamp": "2024-10-25T12:37:46.785444+00:00",
"result": {
"result": true,
"state": 15.9
}
}
],
"action/0": [
{
"path": "action/0",
"timestamp": "2024-10-25T12:37:46.786896+00:00",
"changed_variables": {
"context": {
"id": "01JB1TXM4ZDGSKP1PV6DQY76RP",
"parent_id": "01JB1TXM4Y8VTTHW2TQQ57VVJF",
"user_id": null
}
}
}
]
},
"config": {
"id": "1709332450679",
"alias": "Bagno-PT-restart_heating",
"description": "When Finestra-Bagno-PT and window is closed and external temperature is below 18 set valvola termosifone to Auto",
"triggers": [
{
"type": "not_opened",
"trigger": "device",
"device_id": "f93100fe27b6e5bbb01435d9c7c62c39",
"entity_id": "e9b204a2e6a6c7c7c26ecb7099d87a11",
"domain": "binary_sensor"
}
],
"condition": [
{
"condition": "numeric_state",
"entity_id": "sensor.esterno_temperature",
"below": 18
}
],
"action": [
{
"device_id": "7743d6b58e5c464426e4b53416a74c7a",
"domain": "climate",
"entity_id": "d23578d0c01a087c7c2247fa8fab1113",
"type": "set_hvac_mode",
"hvac_mode": "heat"
}
],
"mode": "single"
},
"blueprint_inputs": null,
"context": {
"id": "01JB1TXM4ZDGSKP1PV6DQY76RP",
"parent_id": "01JB1TXM4Y8VTTHW2TQQ57VVJF",
"user_id": null
}
},
"short_dict": {
"last_step": "action/0",
"run_id": "13651817c34df1b33a4b2c24b30c960a",
"state": "stopped",
"script_execution": "finished",
"timestamp": {
"start": "2024-10-25T12:37:46.784060+00:00",
"finish": "2024-10-25T12:37:46.797313+00:00"
},
"domain": "automation",
"item_id": "1709332450679",
"trigger": "state of binary_sensor.bagnopt_finestra_contact"
}
}
],
"automation.1728594248560": [
{
"extended_dict": {
"last_step": "condition/0",
"run_id": "773f7f35ffdb34cc08a39182ca505f0a",
"state": "stopped",
"script_execution": "failed_conditions",
"timestamp": {
"start": "2024-10-25T12:32:52.956334+00:00",
"finish": "2024-10-25T12:32:52.957400+00:00"
},
"domain": "automation",
"item_id": "1728594248560",
"trigger": "state of binary_sensor.presenza_alta_scala_mansarda_occupancy",
"trace": {
"trigger/0": [
{
"path": "trigger/0",
"timestamp": "2024-10-25T12:32:52.956705+00:00",
"changed_variables": {
"this": {
"entity_id": "automation.luce_scala_mansarda_sensore_alto",
"state": "on",
"attributes": {
"id": "1728594248560",
"last_triggered": "2024-10-24T22:37:02.716593+00:00",
"mode": "restart",
"current": 0,
"friendly_name": "Luce Scala Mansarda (sensore alto)"
},
"last_changed": "2024-10-23T23:34:55.061286+00:00",
"last_reported": "2024-10-24T22:38:22.719797+00:00",
"last_updated": "2024-10-24T22:38:22.719797+00:00",
"context": {
"id": "01JB0AWMFZWJCZ4BDBRVRVJ7SV",
"parent_id": null,
"user_id": null
}
},
"trigger": {
"id": "0",
"idx": "0",
"alias": null,
"platform": "state",
"entity_id": "binary_sensor.presenza_alta_scala_mansarda_occupancy",
"from_state": {
"entity_id": "binary_sensor.presenza_alta_scala_mansarda_occupancy",
"state": "off",
"attributes": {
"device_class": "motion",
"friendly_name": "Presenza-Alta-Scala-Mansarda Motion"
},
"last_changed": "2024-10-25T12:29:17.045845+00:00",
"last_reported": "2024-10-25T12:29:17.045845+00:00",
"last_updated": "2024-10-25T12:29:17.045845+00:00",
"context": {
"id": "01JB1TE2BNRH6BK94ZFS3S9CG8",
"parent_id": null,
"user_id": null
}
},
"to_state": {
"entity_id": "binary_sensor.presenza_alta_scala_mansarda_occupancy",
"state": "on",
"attributes": {
"device_class": "motion",
"friendly_name": "Presenza-Alta-Scala-Mansarda Motion"
},
"last_changed": "2024-10-25T12:32:52.955657+00:00",
"last_reported": "2024-10-25T12:32:52.955657+00:00",
"last_updated": "2024-10-25T12:32:52.955657+00:00",
"context": {
"id": "01JB1TMN6VHKA3D961ZVA6YY5F",
"parent_id": null,
"user_id": null
}
},
"for": null,
"attribute": null,
"description": "state of binary_sensor.presenza_alta_scala_mansarda_occupancy"
}
}
}
],
"condition/0": [
{
"path": "condition/0",
"timestamp": "2024-10-25T12:32:52.956777+00:00",
"result": {
"wanted_time_before": "2024-10-25T06:51:18.426036+00:00",
"wanted_time_after": "2024-10-25T15:22:01.570734+00:00",
"result": false
}
}
]
},
"config": {
"mode": "restart",
"max_exceeded": "silent",
"conditions": [
{
"condition": "sun",
"after": "sunset",
"after_offset": "-01:00:00",
"before": "sunrise",
"before_offset": "+01:00:00"
}
],
"actions": [
{
"alias": "Turn on the light",
"action": "light.turn_on",
"target": {
"device_id": "702137a6f2c17b89fdb0598f7003743c"
}
},
{
"alias": "Wait until there is no motion from device",
"wait_for_trigger": {
"trigger": "state",
"entity_id": "binary_sensor.presenza_alta_scala_mansarda_occupancy",
"from": "on",
"to": "off"
}
},
{
"alias": "Wait the number of seconds that has been set",
"delay": 20
},
{
"alias": "Turn off the light",
"action": "light.turn_off",
"target": {
"device_id": "702137a6f2c17b89fdb0598f7003743c"
}
}
],
"triggers": {
"trigger": "state",
"entity_id": "binary_sensor.presenza_alta_scala_mansarda_occupancy",
"from": "off",
"to": "on"
},
"id": "1728594248560",
"alias": "Luce Scala Mansarda (sensore alto)",
"description": "Attiva Luce Scala Mansarda su presenza"
},
"blueprint_inputs": {
"id": "1728594248560",
"alias": "Luce Scala Mansarda (sensore alto)",
"description": "Attiva Luce Scala Mansarda su presenza",
"use_blueprint": {
"path": "homeassistant/motion_light_custom.yaml",
"input": {
"motion_entity": "binary_sensor.presenza_alta_scala_mansarda_occupancy",
"light_target": {
"device_id": "702137a6f2c17b89fdb0598f7003743c"
},
"no_motion_wait": 20
}
}
},
"context": {
"id": "01JB1TMN6WM5KWH8V7D9FQ7ZDW",
"parent_id": "01JB1TMN6VHKA3D961ZVA6YY5F",
"user_id": null
}
},
"short_dict": {
"last_step": "condition/0",
"run_id": "773f7f35ffdb34cc08a39182ca505f0a",
"state": "stopped",
"script_execution": "failed_conditions",
"timestamp": {
"start": "2024-10-25T12:32:52.956334+00:00",
"finish": "2024-10-25T12:32:52.957400+00:00"
},
"domain": "automation",
"item_id": "1728594248560",
"trigger": "state of binary_sensor.presenza_alta_scala_mansarda_occupancy"
}
},
{
"extended_dict": {
"last_step": "condition/0",
"run_id": "8224ba2ef98c6614d623a54103541eab",
"state": "stopped",
"script_execution": "failed_conditions",
"timestamp": {
"start": "2024-10-25T12:39:01.234753+00:00",
"finish": "2024-10-25T12:39:01.235927+00:00"
},
"domain": "automation",
"item_id": "1728594248560",
"trigger": "state of binary_sensor.presenza_alta_scala_mansarda_occupancy",
"trace": {
"trigger/0": [
{
"path": "trigger/0",
"timestamp": "2024-10-25T12:39:01.235351+00:00",
"changed_variables": {
"this": {
"entity_id": "automation.luce_scala_mansarda_sensore_alto",
"state": "on",
"attributes": {
"id": "1728594248560",
"last_triggered": "2024-10-24T22:37:02.716593+00:00",
"mode": "restart",
"current": 0,
"friendly_name": "Luce Scala Mansarda (sensore alto)"
},
"last_changed": "2024-10-23T23:34:55.061286+00:00",
"last_reported": "2024-10-24T22:38:22.719797+00:00",
"last_updated": "2024-10-24T22:38:22.719797+00:00",
"context": {
"id": "01JB0AWMFZWJCZ4BDBRVRVJ7SV",
"parent_id": null,
"user_id": null
}
},
"trigger": {
"id": "0",
"idx": "0",
"alias": null,
"platform": "state",
"entity_id": "binary_sensor.presenza_alta_scala_mansarda_occupancy",
"from_state": {
"entity_id": "binary_sensor.presenza_alta_scala_mansarda_occupancy",
"state": "off",
"attributes": {
"device_class": "motion",
"friendly_name": "Presenza-Alta-Scala-Mansarda Motion"
},
"last_changed": "2024-10-25T12:33:52.945763+00:00",
"last_reported": "2024-10-25T12:33:52.945763+00:00",
"last_updated": "2024-10-25T12:33:52.945763+00:00",
"context": {
"id": "01JB1TPFSHQ0S2772BZ508K0P8",
"parent_id": null,
"user_id": null
}
},
"to_state": {
"entity_id": "binary_sensor.presenza_alta_scala_mansarda_occupancy",
"state": "on",
"attributes": {
"device_class": "motion",
"friendly_name": "Presenza-Alta-Scala-Mansarda Motion"
},
"last_changed": "2024-10-25T12:39:01.232548+00:00",
"last_reported": "2024-10-25T12:39:01.232548+00:00",
"last_updated": "2024-10-25T12:39:01.232548+00:00",
"context": {
"id": "01JB1TZWVG6JHSMHVCFYXXGA1V",
"parent_id": null,
"user_id": null
}
},
"for": null,
"attribute": null,
"description": "state of binary_sensor.presenza_alta_scala_mansarda_occupancy"
}
}
}
],
"condition/0": [
{
"path": "condition/0",
"timestamp": "2024-10-25T12:39:01.235460+00:00",
"result": {
"wanted_time_before": "2024-10-25T06:51:18.426036+00:00",
"wanted_time_after": "2024-10-25T15:22:01.570734+00:00",
"result": false
}
}
]
},
"config": {
"mode": "restart",
"max_exceeded": "silent",
"conditions": [
{
"condition": "sun",
"after": "sunset",
"after_offset": "-01:00:00",
"before": "sunrise",
"before_offset": "+01:00:00"
}
],
"actions": [
{
"alias": "Turn on the light",
"action": "light.turn_on",
"target": {
"device_id": "702137a6f2c17b89fdb0598f7003743c"
}
},
{
"alias": "Wait until there is no motion from device",
"wait_for_trigger": {
"trigger": "state",
"entity_id": "binary_sensor.presenza_alta_scala_mansarda_occupancy",
"from": "on",
"to": "off"
}
},
{
"alias": "Wait the number of seconds that has been set",
"delay": 20
},
{
"alias": "Turn off the light",
"action": "light.turn_off",
"target": {
"device_id": "702137a6f2c17b89fdb0598f7003743c"
}
}
],
"triggers": {
"trigger": "state",
"entity_id": "binary_sensor.presenza_alta_scala_mansarda_occupancy",
"from": "off",
"to": "on"
},
"id": "1728594248560",
"alias": "Luce Scala Mansarda (sensore alto)",
"description": "Attiva Luce Scala Mansarda su presenza"
},
"blueprint_inputs": {
"id": "1728594248560",
"alias": "Luce Scala Mansarda (sensore alto)",
"description": "Attiva Luce Scala Mansarda su presenza",
"use_blueprint": {
"path": "homeassistant/motion_light_custom.yaml",
"input": {
"motion_entity": "binary_sensor.presenza_alta_scala_mansarda_occupancy",
"light_target": {
"device_id": "702137a6f2c17b89fdb0598f7003743c"
},
"no_motion_wait": 20
}
}
},
"context": {
"id": "01JB1TZWVJ48H0D5QE9Y9259BS",
"parent_id": "01JB1TZWVG6JHSMHVCFYXXGA1V",
"user_id": null
}
},
"short_dict": {
"last_step": "condition/0",
"run_id": "8224ba2ef98c6614d623a54103541eab",
"state": "stopped",
"script_execution": "failed_conditions",
"timestamp": {
"start": "2024-10-25T12:39:01.234753+00:00",
"finish": "2024-10-25T12:39:01.235927+00:00"
},
"domain": "automation",
"item_id": "1728594248560",
"trigger": "state of binary_sensor.presenza_alta_scala_mansarda_occupancy"
}
},
{
"extended_dict": {
"last_step": "condition/0",
"run_id": "060128d0a101004ac66dd1bd704cbc13",
"state": "stopped",
"script_execution": "failed_conditions",
"timestamp": {
"start": "2024-10-25T14:45:16.075600+00:00",
"finish": "2024-10-25T14:45:16.076616+00:00"
},
"domain": "automation",
"item_id": "1728594248560",
"trigger": "state of binary_sensor.presenza_alta_scala_mansarda_occupancy",
"trace": {
"trigger/0": [
{
"path": "trigger/0",
"timestamp": "2024-10-25T14:45:16.075848+00:00",
"changed_variables": {
"this": {
"entity_id": "automation.luce_scala_mansarda_sensore_alto",
"state": "on",
"attributes": {
"id": "1728594248560",
"last_triggered": "2024-10-24T22:37:02.716593+00:00",
"mode": "restart",
"current": 0,
"friendly_name": "Luce Scala Mansarda (sensore alto)"
},
"last_changed": "2024-10-23T23:34:55.061286+00:00",
"last_reported": "2024-10-24T22:38:22.719797+00:00",
"last_updated": "2024-10-24T22:38:22.719797+00:00",
"context": {
"id": "01JB0AWMFZWJCZ4BDBRVRVJ7SV",
"parent_id": null,
"user_id": null
}
},
"trigger": {
"id": "0",
"idx": "0",
"alias": null,
"platform": "state",
"entity_id": "binary_sensor.presenza_alta_scala_mansarda_occupancy",
"from_state": {
"entity_id": "binary_sensor.presenza_alta_scala_mansarda_occupancy",
"state": "off",
"attributes": {
"device_class": "motion",
"friendly_name": "Presenza-Alta-Scala-Mansarda Motion"
},
"last_changed": "2024-10-25T12:40:01.242666+00:00",
"last_reported": "2024-10-25T12:40:01.242666+00:00",
"last_updated": "2024-10-25T12:40:01.242666+00:00",
"context": {
"id": "01JB1V1QET9BY40DFBS065B9PC",
"parent_id": null,
"user_id": null
}
},
"to_state": {
"entity_id": "binary_sensor.presenza_alta_scala_mansarda_occupancy",
"state": "on",
"attributes": {
"device_class": "motion",
"friendly_name": "Presenza-Alta-Scala-Mansarda Motion"
},
"last_changed": "2024-10-25T14:45:16.074010+00:00",
"last_reported": "2024-10-25T14:45:16.074010+00:00",
"last_updated": "2024-10-25T14:45:16.074010+00:00",
"context": {
"id": "01JB22725AKYZG7FJW9ARV5AYC",
"parent_id": null,
"user_id": null
}
},
"for": null,
"attribute": null,
"description": "state of binary_sensor.presenza_alta_scala_mansarda_occupancy"
}
}
}
],
"condition/0": [
{
"path": "condition/0",
"timestamp": "2024-10-25T14:45:16.075918+00:00",
"result": {
"wanted_time_before": "2024-10-25T06:51:18.426036+00:00",
"wanted_time_after": "2024-10-25T15:22:01.570734+00:00",
"result": false
}
}
]
},
"config": {
"mode": "restart",
"max_exceeded": "silent",
"conditions": [
{
"condition": "sun",
"after": "sunset",
"after_offset": "-01:00:00",
"before": "sunrise",
"before_offset": "+01:00:00"
}
],
"actions": [
{
"alias": "Turn on the light",
"action": "light.turn_on",
"target": {
"device_id": "702137a6f2c17b89fdb0598f7003743c"
}
},
{
"alias": "Wait until there is no motion from device",
"wait_for_trigger": {
"trigger": "state",
"entity_id": "binary_sensor.presenza_alta_scala_mansarda_occupancy",
"from": "on",
"to": "off"
}
},
{
"alias": "Wait the number of seconds that has been set",
"delay": 20
},
{
"alias": "Turn off the light",
"action": "light.turn_off",
"target": {
"device_id": "702137a6f2c17b89fdb0598f7003743c"
}
}
],
"triggers": {
"trigger": "state",
"entity_id": "binary_sensor.presenza_alta_scala_mansarda_occupancy",
"from": "off",
"to": "on"
},
"id": "1728594248560",
"alias": "Luce Scala Mansarda (sensore alto)",
"description": "Attiva Luce Scala Mansarda su presenza"
},
"blueprint_inputs": {
"id": "1728594248560",
"alias": "Luce Scala Mansarda (sensore alto)",
"description": "Attiva Luce Scala Mansarda su presenza",
"use_blueprint": {
"path": "homeassistant/motion_light_custom.yaml",
"input": {
"motion_entity": "binary_sensor.presenza_alta_scala_mansarda_occupancy",
"light_target": {
"device_id": "702137a6f2c17b89fdb0598f7003743c"
},
"no_motion_wait": 20
}
}
},
"context": {
"id": "01JB22725B85GJNKQMDJFP9A94",
"parent_id": "01JB22725AKYZG7FJW9ARV5AYC",
"user_id": null
}
},
"short_dict": {
"last_step": "condition/0",
"run_id": "060128d0a101004ac66dd1bd704cbc13",
"state": "stopped",
"script_execution": "failed_conditions",
"timestamp": {
"start": "2024-10-25T14:45:16.075600+00:00",
"finish": "2024-10-25T14:45:16.076616+00:00"
},
"domain": "automation",
"item_id": "1728594248560",
"trigger": "state of binary_sensor.presenza_alta_scala_mansarda_occupancy"
}
},
{
"extended_dict": {
"last_step": "action/3",
"run_id": "b0f6874f887057aa41cbb39e8c792bd8",
"state": "stopped",
"script_execution": "finished",
"timestamp": {
"start": "2024-10-25T15:56:01.357599+00:00",
"finish": "2024-10-25T15:57:21.355716+00:00"
},
"domain": "automation",
"item_id": "1728594248560",
"trigger": "state of binary_sensor.presenza_alta_scala_mansarda_occupancy",
"trace": {
"trigger/0": [
{
"path": "trigger/0",
"timestamp": "2024-10-25T15:56:01.357888+00:00",
"changed_variables": {
"this": {
"entity_id": "automation.luce_scala_mansarda_sensore_alto",
"state": "on",
"attributes": {
"id": "1728594248560",
"last_triggered": "2024-10-24T22:37:02.716593+00:00",
"mode": "restart",
"current": 0,
"friendly_name": "Luce Scala Mansarda (sensore alto)"
},
"last_changed": "2024-10-23T23:34:55.061286+00:00",
"last_reported": "2024-10-24T22:38:22.719797+00:00",
"last_updated": "2024-10-24T22:38:22.719797+00:00",
"context": {
"id": "01JB0AWMFZWJCZ4BDBRVRVJ7SV",
"parent_id": null,
"user_id": null
}
},
"trigger": {
"id": "0",
"idx": "0",
"alias": null,
"platform": "state",
"entity_id": "binary_sensor.presenza_alta_scala_mansarda_occupancy",
"from_state": {
"entity_id": "binary_sensor.presenza_alta_scala_mansarda_occupancy",
"state": "off",
"attributes": {
"device_class": "motion",
"friendly_name": "Presenza-Alta-Scala-Mansarda Motion"
},
"last_changed": "2024-10-25T14:47:13.371210+00:00",
"last_reported": "2024-10-25T14:47:13.371210+00:00",
"last_updated": "2024-10-25T14:47:13.371210+00:00",
"context": {
"id": "01JB22AMPV6PENX1JVCSXRKK82",
"parent_id": null,
"user_id": null
}
},
"to_state": {
"entity_id": "binary_sensor.presenza_alta_scala_mansarda_occupancy",
"state": "on",
"attributes": {
"device_class": "motion",
"friendly_name": "Presenza-Alta-Scala-Mansarda Motion"
},
"last_changed": "2024-10-25T15:56:01.355875+00:00",
"last_reported": "2024-10-25T15:56:01.355875+00:00",
"last_updated": "2024-10-25T15:56:01.355875+00:00",
"context": {
"id": "01JB268KYBFFYQ99DGW3QA14VZ",
"parent_id": null,
"user_id": null
}
},
"for": null,
"attribute": null,
"description": "state of binary_sensor.presenza_alta_scala_mansarda_occupancy"
}
}
}
],
"condition/0": [
{
"path": "condition/0",
"timestamp": "2024-10-25T15:56:01.358077+00:00",
"result": {
"wanted_time_before": "2024-10-25T06:51:18.426036+00:00",
"wanted_time_after": "2024-10-25T15:22:01.570734+00:00",
"result": true
}
}
],
"action/0": [
{
"path": "action/0",
"timestamp": "2024-10-25T15:56:01.360404+00:00",
"changed_variables": {
"context": {
"id": "01JB268KYDP0KX88Q2NC46A0N0",
"parent_id": "01JB268KYBFFYQ99DGW3QA14VZ",
"user_id": null
}
},
"result": {
"params": {
"domain": "light",
"service": "turn_on",
"service_data": {},
"target": {
"device_id": [
"702137a6f2c17b89fdb0598f7003743c"
]
}
},
"running_script": false
}
}
],
"action/1": [
{
"path": "action/1",
"timestamp": "2024-10-25T15:56:01.378831+00:00",
"changed_variables": {
"wait": {
"remaining": null,
"trigger": {
"id": "0",
"idx": "0",
"alias": null,
"platform": "state",
"entity_id": "binary_sensor.presenza_alta_scala_mansarda_occupancy",
"from_state": {
"entity_id": "binary_sensor.presenza_alta_scala_mansarda_occupancy",
"state": "on",
"attributes": {
"device_class": "motion",
"friendly_name": "Presenza-Alta-Scala-Mansarda Motion"
},
"last_changed": "2024-10-25T15:56:01.355875+00:00",
"last_reported": "2024-10-25T15:56:01.355875+00:00",
"last_updated": "2024-10-25T15:56:01.355875+00:00",
"context": {
"id": "01JB268KYBFFYQ99DGW3QA14VZ",
"parent_id": null,
"user_id": null
}
},
"to_state": {
"entity_id": "binary_sensor.presenza_alta_scala_mansarda_occupancy",
"state": "off",
"attributes": {
"device_class": "motion",
"friendly_name": "Presenza-Alta-Scala-Mansarda Motion"
},
"last_changed": "2024-10-25T15:57:01.344078+00:00",
"last_reported": "2024-10-25T15:57:01.344078+00:00",
"last_updated": "2024-10-25T15:57:01.344078+00:00",
"context": {
"id": "01JB26AEH0MQSCJVJFTTFPJNTR",
"parent_id": null,
"user_id": null
}
},
"for": null,
"attribute": null,
"description": "state of binary_sensor.presenza_alta_scala_mansarda_occupancy"
}
}
},
"result": {
"wait": {
"remaining": null,
"trigger": {
"id": "0",
"idx": "0",
"alias": null,
"platform": "state",
"entity_id": "binary_sensor.presenza_alta_scala_mansarda_occupancy",
"from_state": {
"entity_id": "binary_sensor.presenza_alta_scala_mansarda_occupancy",
"state": "on",
"attributes": {
"device_class": "motion",
"friendly_name": "Presenza-Alta-Scala-Mansarda Motion"
},
"last_changed": "2024-10-25T15:56:01.355875+00:00",
"last_reported": "2024-10-25T15:56:01.355875+00:00",
"last_updated": "2024-10-25T15:56:01.355875+00:00",
"context": {
"id": "01JB268KYBFFYQ99DGW3QA14VZ",
"parent_id": null,
"user_id": null
}
},
"to_state": {
"entity_id": "binary_sensor.presenza_alta_scala_mansarda_occupancy",
"state": "off",
"attributes": {
"device_class": "motion",
"friendly_name": "Presenza-Alta-Scala-Mansarda Motion"
},
"last_changed": "2024-10-25T15:57:01.344078+00:00",
"last_reported": "2024-10-25T15:57:01.344078+00:00",
"last_updated": "2024-10-25T15:57:01.344078+00:00",
"context": {
"id": "01JB26AEH0MQSCJVJFTTFPJNTR",
"parent_id": null,
"user_id": null
}
},
"for": null,
"attribute": null,
"description": "state of binary_sensor.presenza_alta_scala_mansarda_occupancy"
}
}
}
}
],
"action/2": [
{
"path": "action/2",
"timestamp": "2024-10-25T15:57:01.346883+00:00",
"result": {
"delay": 20.0,
"done": true
}
}
],
"action/3": [
{
"path": "action/3",
"timestamp": "2024-10-25T15:57:21.349001+00:00",
"result": {
"params": {
"domain": "light",
"service": "turn_off",
"service_data": {},
"target": {
"device_id": [
"702137a6f2c17b89fdb0598f7003743c"
]
}
},
"running_script": false
}
}
]
},
"config": {
"mode": "restart",
"max_exceeded": "silent",
"conditions": [
{
"condition": "sun",
"after": "sunset",
"after_offset": "-01:00:00",
"before": "sunrise",
"before_offset": "+01:00:00"
}
],
"actions": [
{
"alias": "Turn on the light",
"action": "light.turn_on",
"target": {
"device_id": "702137a6f2c17b89fdb0598f7003743c"
}
},
{
"alias": "Wait until there is no motion from device",
"wait_for_trigger": {
"trigger": "state",
"entity_id": "binary_sensor.presenza_alta_scala_mansarda_occupancy",
"from": "on",
"to": "off"
}
},
{
"alias": "Wait the number of seconds that has been set",
"delay": 20
},
{
"alias": "Turn off the light",
"action": "light.turn_off",
"target": {
"device_id": "702137a6f2c17b89fdb0598f7003743c"
}
}
],
"triggers": {
"trigger": "state",
"entity_id": "binary_sensor.presenza_alta_scala_mansarda_occupancy",
"from": "off",
"to": "on"
},
"id": "1728594248560",
"alias": "Luce Scala Mansarda (sensore alto)",
"description": "Attiva Luce Scala Mansarda su presenza"
},
"blueprint_inputs": {
"id": "1728594248560",
"alias": "Luce Scala Mansarda (sensore alto)",
"description": "Attiva Luce Scala Mansarda su presenza",
"use_blueprint": {
"path": "homeassistant/motion_light_custom.yaml",
"input": {
"motion_entity": "binary_sensor.presenza_alta_scala_mansarda_occupancy",
"light_target": {
"device_id": "702137a6f2c17b89fdb0598f7003743c"
},
"no_motion_wait": 20
}
}
},
"context": {
"id": "01JB268KYDP0KX88Q2NC46A0N0",
"parent_id": "01JB268KYBFFYQ99DGW3QA14VZ",
"user_id": null
}
},
"short_dict": {
"last_step": "action/3",
"run_id": "b0f6874f887057aa41cbb39e8c792bd8",
"state": "stopped",
"script_execution": "finished",
"timestamp": {
"start": "2024-10-25T15:56:01.357599+00:00",
"finish": "2024-10-25T15:57:21.355716+00:00"
},
"domain": "automation",
"item_id": "1728594248560",
"trigger": "state of binary_sensor.presenza_alta_scala_mansarda_occupancy"
}
},
{
"extended_dict": {
"last_step": "action/3",
"run_id": "b515cd6c22122a5cca90f7d0157f9a19",
"state": "stopped",
"script_execution": "finished",
"timestamp": {
"start": "2024-10-25T16:10:40.426132+00:00",
"finish": "2024-10-25T16:12:00.407369+00:00"
},
"domain": "automation",
"item_id": "1728594248560",
"trigger": "state of binary_sensor.presenza_alta_scala_mansarda_occupancy",
"trace": {
"trigger/0": [
{
"path": "trigger/0",
"timestamp": "2024-10-25T16:10:40.426393+00:00",
"changed_variables": {
"this": {
"entity_id": "automation.luce_scala_mansarda_sensore_alto",
"state": "on",
"attributes": {
"id": "1728594248560",
"last_triggered": "2024-10-25T15:56:01.359428+00:00",
"mode": "restart",
"current": 0,
"friendly_name": "Luce Scala Mansarda (sensore alto)"
},
"last_changed": "2024-10-23T23:34:55.061286+00:00",
"last_reported": "2024-10-25T15:57:21.353182+00:00",
"last_updated": "2024-10-25T15:57:21.353182+00:00",
"context": {
"id": "01JB26B229P6TXXKYM5WKY3HR9",
"parent_id": null,
"user_id": null
}
},
"trigger": {
"id": "0",
"idx": "0",
"alias": null,
"platform": "state",
"entity_id": "binary_sensor.presenza_alta_scala_mansarda_occupancy",
"from_state": {
"entity_id": "binary_sensor.presenza_alta_scala_mansarda_occupancy",
"state": "off",
"attributes": {
"device_class": "motion",
"friendly_name": "Presenza-Alta-Scala-Mansarda Motion"
},
"last_changed": "2024-10-25T15:57:01.344078+00:00",
"last_reported": "2024-10-25T15:57:01.344078+00:00",
"last_updated": "2024-10-25T15:57:01.344078+00:00",
"context": {
"id": "01JB26AEH0MQSCJVJFTTFPJNTR",
"parent_id": null,
"user_id": null
}
},
"to_state": {
"entity_id": "binary_sensor.presenza_alta_scala_mansarda_occupancy",
"state": "on",
"attributes": {
"device_class": "motion",
"friendly_name": "Presenza-Alta-Scala-Mansarda Motion"
},
"last_changed": "2024-10-25T16:10:40.425454+00:00",
"last_reported": "2024-10-25T16:10:40.425454+00:00",
"last_updated": "2024-10-25T16:10:40.425454+00:00",
"context": {
"id": "01JB273ED9JHFHYQVKSQKGV5NY",
"parent_id": null,
"user_id": null
}
},
"for": null,
"attribute": null,
"description": "state of binary_sensor.presenza_alta_scala_mansarda_occupancy"
}
}
}
],
"condition/0": [
{
"path": "condition/0",
"timestamp": "2024-10-25T16:10:40.426468+00:00",
"result": {
"wanted_time_before": "2024-10-25T06:51:18.426036+00:00",
"wanted_time_after": "2024-10-25T15:22:01.570734+00:00",
"result": true
}
}
],
"action/0": [
{
"path": "action/0",
"timestamp": "2024-10-25T16:10:40.427522+00:00",
"changed_variables": {
"context": {
"id": "01JB273EDAY5VDDQGJJCGB9DQM",
"parent_id": "01JB273ED9JHFHYQVKSQKGV5NY",
"user_id": null
}
},
"result": {
"params": {
"domain": "light",
"service": "turn_on",
"service_data": {},
"target": {
"device_id": [
"702137a6f2c17b89fdb0598f7003743c"
]
}
},
"running_script": false
}
}
],
"action/1": [
{
"path": "action/1",
"timestamp": "2024-10-25T16:10:40.430948+00:00",
"changed_variables": {
"wait": {
"remaining": null,
"trigger": {
"id": "0",
"idx": "0",
"alias": null,
"platform": "state",
"entity_id": "binary_sensor.presenza_alta_scala_mansarda_occupancy",
"from_state": {
"entity_id": "binary_sensor.presenza_alta_scala_mansarda_occupancy",
"state": "on",
"attributes": {
"device_class": "motion",
"friendly_name": "Presenza-Alta-Scala-Mansarda Motion"
},
"last_changed": "2024-10-25T16:10:40.425454+00:00",
"last_reported": "2024-10-25T16:10:40.425454+00:00",
"last_updated": "2024-10-25T16:10:40.425454+00:00",
"context": {
"id": "01JB273ED9JHFHYQVKSQKGV5NY",
"parent_id": null,
"user_id": null
}
},
"to_state": {
"entity_id": "binary_sensor.presenza_alta_scala_mansarda_occupancy",
"state": "off",
"attributes": {
"device_class": "motion",
"friendly_name": "Presenza-Alta-Scala-Mansarda Motion"
},
"last_changed": "2024-10-25T16:11:40.391700+00:00",
"last_reported": "2024-10-25T16:11:40.391700+00:00",
"last_updated": "2024-10-25T16:11:40.391700+00:00",
"context": {
"id": "01JB2758Z7G4M8QM4ZE4M8FHHH",
"parent_id": null,
"user_id": null
}
},
"for": null,
"attribute": null,
"description": "state of binary_sensor.presenza_alta_scala_mansarda_occupancy"
}
}
},
"result": {
"wait": {
"remaining": null,
"trigger": {
"id": "0",
"idx": "0",
"alias": null,
"platform": "state",
"entity_id": "binary_sensor.presenza_alta_scala_mansarda_occupancy",
"from_state": {
"entity_id": "binary_sensor.presenza_alta_scala_mansarda_occupancy",
"state": "on",
"attributes": {
"device_class": "motion",
"friendly_name": "Presenza-Alta-Scala-Mansarda Motion"
},
"last_changed": "2024-10-25T16:10:40.425454+00:00",
"last_reported": "2024-10-25T16:10:40.425454+00:00",
"last_updated": "2024-10-25T16:10:40.425454+00:00",
"context": {
"id": "01JB273ED9JHFHYQVKSQKGV5NY",
"parent_id": null,
"user_id": null
}
},
"to_state": {
"entity_id": "binary_sensor.presenza_alta_scala_mansarda_occupancy",
"state": "off",
"attributes": {
"device_class": "motion",
"friendly_name": "Presenza-Alta-Scala-Mansarda Motion"
},
"last_changed": "2024-10-25T16:11:40.391700+00:00",
"last_reported": "2024-10-25T16:11:40.391700+00:00",
"last_updated": "2024-10-25T16:11:40.391700+00:00",
"context": {
"id": "01JB2758Z7G4M8QM4ZE4M8FHHH",
"parent_id": null,
"user_id": null
}
},
"for": null,
"attribute": null,
"description": "state of binary_sensor.presenza_alta_scala_mansarda_occupancy"
}
}
}
}
],
"action/2": [
{
"path": "action/2",
"timestamp": "2024-10-25T16:11:40.394620+00:00",
"result": {
"delay": 20.0,
"done": true
}
}
],
"action/3": [
{
"path": "action/3",
"timestamp": "2024-10-25T16:12:00.396806+00:00",
"result": {
"params": {
"domain": "light",
"service": "turn_off",
"service_data": {},
"target": {
"device_id": [
"702137a6f2c17b89fdb0598f7003743c"
]
}
},
"running_script": false
}
}
]
},
"config": {
"mode": "restart",
"max_exceeded": "silent",
"conditions": [
{
"condition": "sun",
"after": "sunset",
"after_offset": "-01:00:00",
"before": "sunrise",
"before_offset": "+01:00:00"
}
],
"actions": [
{
"alias": "Turn on the light",
"action": "light.turn_on",
"target": {
"device_id": "702137a6f2c17b89fdb0598f7003743c"
}
},
{
"alias": "Wait until there is no motion from device",
"wait_for_trigger": {
"trigger": "state",
"entity_id": "binary_sensor.presenza_alta_scala_mansarda_occupancy",
"from": "on",
"to": "off"
}
},
{
"alias": "Wait the number of seconds that has been set",
"delay": 20
},
{
"alias": "Turn off the light",
"action": "light.turn_off",
"target": {
"device_id": "702137a6f2c17b89fdb0598f7003743c"
}
}
],
"triggers": {
"trigger": "state",
"entity_id": "binary_sensor.presenza_alta_scala_mansarda_occupancy",
"from": "off",
"to": "on"
},
"id": "1728594248560",
"alias": "Luce Scala Mansarda (sensore alto)",
"description": "Attiva Luce Scala Mansarda su presenza"
},
"blueprint_inputs": {
"id": "1728594248560",
"alias": "Luce Scala Mansarda (sensore alto)",
"description": "Attiva Luce Scala Mansarda su presenza",
"use_blueprint": {
"path": "homeassistant/motion_light_custom.yaml",
"input": {
"motion_entity": "binary_sensor.presenza_alta_scala_mansarda_occupancy",
"light_target": {
"device_id": "702137a6f2c17b89fdb0598f7003743c"
},
"no_motion_wait": 20
}
}
},
"context": {
"id": "01JB273EDAY5VDDQGJJCGB9DQM",
"parent_id": "01JB273ED9JHFHYQVKSQKGV5NY",
"user_id": null
}
},
"short_dict": {
"last_step": "action/3",
"run_id": "b515cd6c22122a5cca90f7d0157f9a19",
"state": "stopped",
"script_execution": "finished",
"timestamp": {
"start": "2024-10-25T16:10:40.426132+00:00",
"finish": "2024-10-25T16:12:00.407369+00:00"
},
"domain": "automation",
"item_id": "1728594248560",
"trigger": "state of binary_sensor.presenza_alta_scala_mansarda_occupancy"
}
}
],
"automation.1728594117428": [
{
"extended_dict": {
"last_step": "condition/0",
"run_id": "826972e29844c4b8b301c37331cc7678",
"state": "stopped",
"script_execution": "failed_conditions",
"timestamp": {
"start": "2024-10-25T12:38:33.243095+00:00",
"finish": "2024-10-25T12:38:33.243837+00:00"
},
"domain": "automation",
"item_id": "1728594117428",
"trigger": "state of binary_sensor.presenza_bassa_scala_mansarda_occupancy",
"trace": {
"trigger/0": [
{
"path": "trigger/0",
"timestamp": "2024-10-25T12:38:33.243324+00:00",
"changed_variables": {
"this": {
"entity_id": "automation.scala_mansarda_sensore_basso",
"state": "on",
"attributes": {
"id": "1728594117428",
"last_triggered": "2024-10-24T22:37:16.922940+00:00",
"mode": "restart",
"current": 0,
"friendly_name": "Luce Scala Mansarda (sensore basso)"
},
"last_changed": "2024-10-23T23:34:55.062312+00:00",
"last_reported": "2024-10-24T22:38:36.908792+00:00",
"last_updated": "2024-10-24T22:38:36.908792+00:00",
"context": {
"id": "01JB0AX2BCC0XDGZY7XHPCGQPD",
"parent_id": null,
"user_id": null
}
},
"trigger": {
"id": "0",
"idx": "0",
"alias": null,
"platform": "state",
"entity_id": "binary_sensor.presenza_bassa_scala_mansarda_occupancy",
"from_state": {
"entity_id": "binary_sensor.presenza_bassa_scala_mansarda_occupancy",
"state": "off",
"attributes": {
"device_class": "motion",
"friendly_name": "Presenza-Bassa-Scala-Mansarda Motion"
},
"last_changed": "2024-10-25T12:34:00.797643+00:00",
"last_reported": "2024-10-25T12:34:00.797643+00:00",
"last_updated": "2024-10-25T12:34:00.797643+00:00",
"context": {
"id": "01JB1TPQEXND3QT41HGC9M5930",
"parent_id": null,
"user_id": null
}
},
"to_state": {
"entity_id": "binary_sensor.presenza_bassa_scala_mansarda_occupancy",
"state": "on",
"attributes": {
"device_class": "motion",
"friendly_name": "Presenza-Bassa-Scala-Mansarda Motion"
},
"last_changed": "2024-10-25T12:38:33.242460+00:00",
"last_reported": "2024-10-25T12:38:33.242460+00:00",
"last_updated": "2024-10-25T12:38:33.242460+00:00",
"context": {
"id": "01JB1TZ1GT5KF283JY3AYEP4MC",
"parent_id": null,
"user_id": null
}
},
"for": null,
"attribute": null,
"description": "state of binary_sensor.presenza_bassa_scala_mansarda_occupancy"
}
}
}
],
"condition/0": [
{
"path": "condition/0",
"timestamp": "2024-10-25T12:38:33.243394+00:00",
"result": {
"wanted_time_before": "2024-10-25T06:51:18.426036+00:00",
"wanted_time_after": "2024-10-25T15:22:01.570734+00:00",
"result": false
}
}
]
},
"config": {
"mode": "restart",
"max_exceeded": "silent",
"conditions": [
{
"condition": "sun",
"after": "sunset",
"after_offset": "-01:00:00",
"before": "sunrise",
"before_offset": "+01:00:00"
}
],
"actions": [
{
"alias": "Turn on the light",
"action": "light.turn_on",
"target": {
"device_id": "702137a6f2c17b89fdb0598f7003743c"
}
},
{
"alias": "Wait until there is no motion from device",
"wait_for_trigger": {
"trigger": "state",
"entity_id": "binary_sensor.presenza_bassa_scala_mansarda_occupancy",
"from": "on",
"to": "off"
}
},
{
"alias": "Wait the number of seconds that has been set",
"delay": 20
},
{
"alias": "Turn off the light",
"action": "light.turn_off",
"target": {
"device_id": "702137a6f2c17b89fdb0598f7003743c"
}
}
],
"triggers": {
"trigger": "state",
"entity_id": "binary_sensor.presenza_bassa_scala_mansarda_occupancy",
"from": "off",
"to": "on"
},
"id": "1728594117428",
"alias": "Luce Scala Mansarda (sensore basso)",
"description": "Attiva Luce Scala Mansarda su presenza"
},
"blueprint_inputs": {
"id": "1728594117428",
"alias": "Luce Scala Mansarda (sensore basso)",
"description": "Attiva Luce Scala Mansarda su presenza",
"use_blueprint": {
"path": "homeassistant/motion_light_custom.yaml",
"input": {
"motion_entity": "binary_sensor.presenza_bassa_scala_mansarda_occupancy",
"light_target": {
"device_id": "702137a6f2c17b89fdb0598f7003743c"
},
"no_motion_wait": 20
}
}
},
"context": {
"id": "01JB1TZ1GV7STSR6BJ5XZFMKKP",
"parent_id": "01JB1TZ1GT5KF283JY3AYEP4MC",
"user_id": null
}
},
"short_dict": {
"last_step": "condition/0",
"run_id": "826972e29844c4b8b301c37331cc7678",
"state": "stopped",
"script_execution": "failed_conditions",
"timestamp": {
"start": "2024-10-25T12:38:33.243095+00:00",
"finish": "2024-10-25T12:38:33.243837+00:00"
},
"domain": "automation",
"item_id": "1728594117428",
"trigger": "state of binary_sensor.presenza_bassa_scala_mansarda_occupancy"
}
},
{
"extended_dict": {
"last_step": "condition/0",
"run_id": "ce3b84d1d12941cfa5044f97f81211c5",
"state": "stopped",
"script_execution": "failed_conditions",
"timestamp": {
"start": "2024-10-25T14:45:07.408450+00:00",
"finish": "2024-10-25T14:45:07.409355+00:00"
},
"domain": "automation",
"item_id": "1728594117428",
"trigger": "state of binary_sensor.presenza_bassa_scala_mansarda_occupancy",
"trace": {
"trigger/0": [
{
"path": "trigger/0",
"timestamp": "2024-10-25T14:45:07.408661+00:00",
"changed_variables": {
"this": {
"entity_id": "automation.scala_mansarda_sensore_basso",
"state": "on",
"attributes": {
"id": "1728594117428",
"last_triggered": "2024-10-24T22:37:16.922940+00:00",
"mode": "restart",
"current": 0,
"friendly_name": "Luce Scala Mansarda (sensore basso)"
},
"last_changed": "2024-10-23T23:34:55.062312+00:00",
"last_reported": "2024-10-24T22:38:36.908792+00:00",
"last_updated": "2024-10-24T22:38:36.908792+00:00",
"context": {
"id": "01JB0AX2BCC0XDGZY7XHPCGQPD",
"parent_id": null,
"user_id": null
}
},
"trigger": {
"id": "0",
"idx": "0",
"alias": null,
"platform": "state",
"entity_id": "binary_sensor.presenza_bassa_scala_mansarda_occupancy",
"from_state": {
"entity_id": "binary_sensor.presenza_bassa_scala_mansarda_occupancy",
"state": "off",
"attributes": {
"device_class": "motion",
"friendly_name": "Presenza-Bassa-Scala-Mansarda Motion"
},
"last_changed": "2024-10-25T12:39:33.249545+00:00",
"last_reported": "2024-10-25T12:39:33.249545+00:00",
"last_updated": "2024-10-25T12:39:33.249545+00:00",
"context": {
"id": "01JB1V0W410X1SVNMBPA5JM8NG",
"parent_id": null,
"user_id": null
}
},
"to_state": {
"entity_id": "binary_sensor.presenza_bassa_scala_mansarda_occupancy",
"state": "on",
"attributes": {
"device_class": "motion",
"friendly_name": "Presenza-Bassa-Scala-Mansarda Motion"
},
"last_changed": "2024-10-25T14:45:07.407423+00:00",
"last_reported": "2024-10-25T14:45:07.407423+00:00",
"last_updated": "2024-10-25T14:45:07.407423+00:00",
"context": {
"id": "01JB226SPF9N9Y84XS6JTVKCVD",
"parent_id": null,
"user_id": null
}
},
"for": null,
"attribute": null,
"description": "state of binary_sensor.presenza_bassa_scala_mansarda_occupancy"
}
}
}
],
"condition/0": [
{
"path": "condition/0",
"timestamp": "2024-10-25T14:45:07.408771+00:00",
"result": {
"wanted_time_before": "2024-10-25T06:51:18.426036+00:00",
"wanted_time_after": "2024-10-25T15:22:01.570734+00:00",
"result": false
}
}
]
},
"config": {
"mode": "restart",
"max_exceeded": "silent",
"conditions": [
{
"condition": "sun",
"after": "sunset",
"after_offset": "-01:00:00",
"before": "sunrise",
"before_offset": "+01:00:00"
}
],
"actions": [
{
"alias": "Turn on the light",
"action": "light.turn_on",
"target": {
"device_id": "702137a6f2c17b89fdb0598f7003743c"
}
},
{
"alias": "Wait until there is no motion from device",
"wait_for_trigger": {
"trigger": "state",
"entity_id": "binary_sensor.presenza_bassa_scala_mansarda_occupancy",
"from": "on",
"to": "off"
}
},
{
"alias": "Wait the number of seconds that has been set",
"delay": 20
},
{
"alias": "Turn off the light",
"action": "light.turn_off",
"target": {
"device_id": "702137a6f2c17b89fdb0598f7003743c"
}
}
],
"triggers": {
"trigger": "state",
"entity_id": "binary_sensor.presenza_bassa_scala_mansarda_occupancy",
"from": "off",
"to": "on"
},
"id": "1728594117428",
"alias": "Luce Scala Mansarda (sensore basso)",
"description": "Attiva Luce Scala Mansarda su presenza"
},
"blueprint_inputs": {
"id": "1728594117428",
"alias": "Luce Scala Mansarda (sensore basso)",
"description": "Attiva Luce Scala Mansarda su presenza",
"use_blueprint": {
"path": "homeassistant/motion_light_custom.yaml",
"input": {
"motion_entity": "binary_sensor.presenza_bassa_scala_mansarda_occupancy",
"light_target": {
"device_id": "702137a6f2c17b89fdb0598f7003743c"
},
"no_motion_wait": 20
}
}
},
"context": {
"id": "01JB226SPGQVCECQBJV5Q9E822",
"parent_id": "01JB226SPF9N9Y84XS6JTVKCVD",
"user_id": null
}
},
"short_dict": {
"last_step": "condition/0",
"run_id": "ce3b84d1d12941cfa5044f97f81211c5",
"state": "stopped",
"script_execution": "failed_conditions",
"timestamp": {
"start": "2024-10-25T14:45:07.408450+00:00",
"finish": "2024-10-25T14:45:07.409355+00:00"
},
"domain": "automation",
"item_id": "1728594117428",
"trigger": "state of binary_sensor.presenza_bassa_scala_mansarda_occupancy"
}
},
{
"extended_dict": {
"last_step": "condition/0",
"run_id": "d5c2dbd5454c42810d3749ecd2b44111",
"state": "stopped",
"script_execution": "failed_conditions",
"timestamp": {
"start": "2024-10-25T14:46:22.210764+00:00",
"finish": "2024-10-25T14:46:22.211477+00:00"
},
"domain": "automation",
"item_id": "1728594117428",
"trigger": "state of binary_sensor.presenza_bassa_scala_mansarda_occupancy",
"trace": {
"trigger/0": [
{
"path": "trigger/0",
"timestamp": "2024-10-25T14:46:22.210978+00:00",
"changed_variables": {
"this": {
"entity_id": "automation.scala_mansarda_sensore_basso",
"state": "on",
"attributes": {
"id": "1728594117428",
"last_triggered": "2024-10-24T22:37:16.922940+00:00",
"mode": "restart",
"current": 0,
"friendly_name": "Luce Scala Mansarda (sensore basso)"
},
"last_changed": "2024-10-23T23:34:55.062312+00:00",
"last_reported": "2024-10-24T22:38:36.908792+00:00",
"last_updated": "2024-10-24T22:38:36.908792+00:00",
"context": {
"id": "01JB0AX2BCC0XDGZY7XHPCGQPD",
"parent_id": null,
"user_id": null
}
},
"trigger": {
"id": "0",
"idx": "0",
"alias": null,
"platform": "state",
"entity_id": "binary_sensor.presenza_bassa_scala_mansarda_occupancy",
"from_state": {
"entity_id": "binary_sensor.presenza_bassa_scala_mansarda_occupancy",
"state": "off",
"attributes": {
"device_class": "motion",
"friendly_name": "Presenza-Bassa-Scala-Mansarda Motion"
},
"last_changed": "2024-10-25T14:46:07.395942+00:00",
"last_reported": "2024-10-25T14:46:07.395942+00:00",
"last_updated": "2024-10-25T14:46:07.395942+00:00",
"context": {
"id": "01JB228M93A7EVT2QFXZ3E4HEV",
"parent_id": null,
"user_id": null
}
},
"to_state": {
"entity_id": "binary_sensor.presenza_bassa_scala_mansarda_occupancy",
"state": "on",
"attributes": {
"device_class": "motion",
"friendly_name": "Presenza-Bassa-Scala-Mansarda Motion"
},
"last_changed": "2024-10-25T14:46:22.209279+00:00",
"last_reported": "2024-10-25T14:46:22.209279+00:00",
"last_updated": "2024-10-25T14:46:22.209279+00:00",
"context": {
"id": "01JB2292R1WVP3QJB7YT4YSMF8",
"parent_id": null,
"user_id": null
}
},
"for": null,
"attribute": null,
"description": "state of binary_sensor.presenza_bassa_scala_mansarda_occupancy"
}
}
}
],
"condition/0": [
{
"path": "condition/0",
"timestamp": "2024-10-25T14:46:22.211047+00:00",
"result": {
"wanted_time_before": "2024-10-25T06:51:18.426036+00:00",
"wanted_time_after": "2024-10-25T15:22:01.570734+00:00",
"result": false
}
}
]
},
"config": {
"mode": "restart",
"max_exceeded": "silent",
"conditions": [
{
"condition": "sun",
"after": "sunset",
"after_offset": "-01:00:00",
"before": "sunrise",
"before_offset": "+01:00:00"
}
],
"actions": [
{
"alias": "Turn on the light",
"action": "light.turn_on",
"target": {
"device_id": "702137a6f2c17b89fdb0598f7003743c"
}
},
{
"alias": "Wait until there is no motion from device",
"wait_for_trigger": {
"trigger": "state",
"entity_id": "binary_sensor.presenza_bassa_scala_mansarda_occupancy",
"from": "on",
"to": "off"
}
},
{
"alias": "Wait the number of seconds that has been set",
"delay": 20
},
{
"alias": "Turn off the light",
"action": "light.turn_off",
"target": {
"device_id": "702137a6f2c17b89fdb0598f7003743c"
}
}
],
"triggers": {
"trigger": "state",
"entity_id": "binary_sensor.presenza_bassa_scala_mansarda_occupancy",
"from": "off",
"to": "on"
},
"id": "1728594117428",
"alias": "Luce Scala Mansarda (sensore basso)",
"description": "Attiva Luce Scala Mansarda su presenza"
},
"blueprint_inputs": {
"id": "1728594117428",
"alias": "Luce Scala Mansarda (sensore basso)",
"description": "Attiva Luce Scala Mansarda su presenza",
"use_blueprint": {
"path": "homeassistant/motion_light_custom.yaml",
"input": {
"motion_entity": "binary_sensor.presenza_bassa_scala_mansarda_occupancy",
"light_target": {
"device_id": "702137a6f2c17b89fdb0598f7003743c"
},
"no_motion_wait": 20
}
}
},
"context": {
"id": "01JB2292R2S0WG8B08Z2QD5F5Q",
"parent_id": "01JB2292R1WVP3QJB7YT4YSMF8",
"user_id": null
}
},
"short_dict": {
"last_step": "condition/0",
"run_id": "d5c2dbd5454c42810d3749ecd2b44111",
"state": "stopped",
"script_execution": "failed_conditions",
"timestamp": {
"start": "2024-10-25T14:46:22.210764+00:00",
"finish": "2024-10-25T14:46:22.211477+00:00"
},
"domain": "automation",
"item_id": "1728594117428",
"trigger": "state of binary_sensor.presenza_bassa_scala_mansarda_occupancy"
}
},
{
"extended_dict": {
"last_step": "action/3",
"run_id": "da7d5060e9203ffce211fe20aafa8256",
"state": "stopped",
"script_execution": "finished",
"timestamp": {
"start": "2024-10-25T15:56:08.742262+00:00",
"finish": "2024-10-25T15:57:28.740915+00:00"
},
"domain": "automation",
"item_id": "1728594117428",
"trigger": "state of binary_sensor.presenza_bassa_scala_mansarda_occupancy",
"trace": {
"trigger/0": [
{
"path": "trigger/0",
"timestamp": "2024-10-25T15:56:08.742753+00:00",
"changed_variables": {
"this": {
"entity_id": "automation.scala_mansarda_sensore_basso",
"state": "on",
"attributes": {
"id": "1728594117428",
"last_triggered": "2024-10-24T22:37:16.922940+00:00",
"mode": "restart",
"current": 0,
"friendly_name": "Luce Scala Mansarda (sensore basso)"
},
"last_changed": "2024-10-23T23:34:55.062312+00:00",
"last_reported": "2024-10-24T22:38:36.908792+00:00",
"last_updated": "2024-10-24T22:38:36.908792+00:00",
"context": {
"id": "01JB0AX2BCC0XDGZY7XHPCGQPD",
"parent_id": null,
"user_id": null
}
},
"trigger": {
"id": "0",
"idx": "0",
"alias": null,
"platform": "state",
"entity_id": "binary_sensor.presenza_bassa_scala_mansarda_occupancy",
"from_state": {
"entity_id": "binary_sensor.presenza_bassa_scala_mansarda_occupancy",
"state": "off",
"attributes": {
"device_class": "motion",
"friendly_name": "Presenza-Bassa-Scala-Mansarda Motion"
},
"last_changed": "2024-10-25T14:47:22.209122+00:00",
"last_reported": "2024-10-25T14:47:22.209122+00:00",
"last_updated": "2024-10-25T14:47:22.209122+00:00",
"context": {
"id": "01JB22AXB1A70Z7BJQYE341QXF",
"parent_id": null,
"user_id": null
}
},
"to_state": {
"entity_id": "binary_sensor.presenza_bassa_scala_mansarda_occupancy",
"state": "on",
"attributes": {
"device_class": "motion",
"friendly_name": "Presenza-Bassa-Scala-Mansarda Motion"
},
"last_changed": "2024-10-25T15:56:08.740577+00:00",
"last_reported": "2024-10-25T15:56:08.740577+00:00",
"last_updated": "2024-10-25T15:56:08.740577+00:00",
"context": {
"id": "01JB268V54VRP6Z0J8ZFZ6WPXS",
"parent_id": null,
"user_id": null
}
},
"for": null,
"attribute": null,
"description": "state of binary_sensor.presenza_bassa_scala_mansarda_occupancy"
}
}
}
],
"condition/0": [
{
"path": "condition/0",
"timestamp": "2024-10-25T15:56:08.742865+00:00",
"result": {
"wanted_time_before": "2024-10-25T06:51:18.426036+00:00",
"wanted_time_after": "2024-10-25T15:22:01.570734+00:00",
"result": true
}
}
],
"action/0": [
{
"path": "action/0",
"timestamp": "2024-10-25T15:56:08.744130+00:00",
"changed_variables": {
"context": {
"id": "01JB268V56VP11T5EK02879VY6",
"parent_id": "01JB268V54VRP6Z0J8ZFZ6WPXS",
"user_id": null
}
},
"result": {
"params": {
"domain": "light",
"service": "turn_on",
"service_data": {},
"target": {
"device_id": [
"702137a6f2c17b89fdb0598f7003743c"
]
}
},
"running_script": false
}
}
],
"action/1": [
{
"path": "action/1",
"timestamp": "2024-10-25T15:56:08.760938+00:00",
"changed_variables": {
"wait": {
"remaining": null,
"trigger": {
"id": "0",
"idx": "0",
"alias": null,
"platform": "state",
"entity_id": "binary_sensor.presenza_bassa_scala_mansarda_occupancy",
"from_state": {
"entity_id": "binary_sensor.presenza_bassa_scala_mansarda_occupancy",
"state": "on",
"attributes": {
"device_class": "motion",
"friendly_name": "Presenza-Bassa-Scala-Mansarda Motion"
},
"last_changed": "2024-10-25T15:56:08.740577+00:00",
"last_reported": "2024-10-25T15:56:08.740577+00:00",
"last_updated": "2024-10-25T15:56:08.740577+00:00",
"context": {
"id": "01JB268V54VRP6Z0J8ZFZ6WPXS",
"parent_id": null,
"user_id": null
}
},
"to_state": {
"entity_id": "binary_sensor.presenza_bassa_scala_mansarda_occupancy",
"state": "off",
"attributes": {
"device_class": "motion",
"friendly_name": "Presenza-Bassa-Scala-Mansarda Motion"
},
"last_changed": "2024-10-25T15:57:08.720011+00:00",
"last_reported": "2024-10-25T15:57:08.720011+00:00",
"last_updated": "2024-10-25T15:57:08.720011+00:00",
"context": {
"id": "01JB26ANQG4Q985GFD9JKBZDJC",
"parent_id": null,
"user_id": null
}
},
"for": null,
"attribute": null,
"description": "state of binary_sensor.presenza_bassa_scala_mansarda_occupancy"
}
}
},
"result": {
"wait": {
"remaining": null,
"trigger": {
"id": "0",
"idx": "0",
"alias": null,
"platform": "state",
"entity_id": "binary_sensor.presenza_bassa_scala_mansarda_occupancy",
"from_state": {
"entity_id": "binary_sensor.presenza_bassa_scala_mansarda_occupancy",
"state": "on",
"attributes": {
"device_class": "motion",
"friendly_name": "Presenza-Bassa-Scala-Mansarda Motion"
},
"last_changed": "2024-10-25T15:56:08.740577+00:00",
"last_reported": "2024-10-25T15:56:08.740577+00:00",
"last_updated": "2024-10-25T15:56:08.740577+00:00",
"context": {
"id": "01JB268V54VRP6Z0J8ZFZ6WPXS",
"parent_id": null,
"user_id": null
}
},
"to_state": {
"entity_id": "binary_sensor.presenza_bassa_scala_mansarda_occupancy",
"state": "off",
"attributes": {
"device_class": "motion",
"friendly_name": "Presenza-Bassa-Scala-Mansarda Motion"
},
"last_changed": "2024-10-25T15:57:08.720011+00:00",
"last_reported": "2024-10-25T15:57:08.720011+00:00",
"last_updated": "2024-10-25T15:57:08.720011+00:00",
"context": {
"id": "01JB26ANQG4Q985GFD9JKBZDJC",
"parent_id": null,
"user_id": null
}
},
"for": null,
"attribute": null,
"description": "state of binary_sensor.presenza_bassa_scala_mansarda_occupancy"
}
}
}
}
],
"action/2": [
{
"path": "action/2",
"timestamp": "2024-10-25T15:57:08.722554+00:00",
"result": {
"delay": 20.0,
"done": true
}
}
],
"action/3": [
{
"path": "action/3",
"timestamp": "2024-10-25T15:57:28.725699+00:00",
"result": {
"params": {
"domain": "light",
"service": "turn_off",
"service_data": {},
"target": {
"device_id": [
"702137a6f2c17b89fdb0598f7003743c"
]
}
},
"running_script": false
}
}
]
},
"config": {
"mode": "restart",
"max_exceeded": "silent",
"conditions": [
{
"condition": "sun",
"after": "sunset",
"after_offset": "-01:00:00",
"before": "sunrise",
"before_offset": "+01:00:00"
}
],
"actions": [
{
"alias": "Turn on the light",
"action": "light.turn_on",
"target": {
"device_id": "702137a6f2c17b89fdb0598f7003743c"
}
},
{
"alias": "Wait until there is no motion from device",
"wait_for_trigger": {
"trigger": "state",
"entity_id": "binary_sensor.presenza_bassa_scala_mansarda_occupancy",
"from": "on",
"to": "off"
}
},
{
"alias": "Wait the number of seconds that has been set",
"delay": 20
},
{
"alias": "Turn off the light",
"action": "light.turn_off",
"target": {
"device_id": "702137a6f2c17b89fdb0598f7003743c"
}
}
],
"triggers": {
"trigger": "state",
"entity_id": "binary_sensor.presenza_bassa_scala_mansarda_occupancy",
"from": "off",
"to": "on"
},
"id": "1728594117428",
"alias": "Luce Scala Mansarda (sensore basso)",
"description": "Attiva Luce Scala Mansarda su presenza"
},
"blueprint_inputs": {
"id": "1728594117428",
"alias": "Luce Scala Mansarda (sensore basso)",
"description": "Attiva Luce Scala Mansarda su presenza",
"use_blueprint": {
"path": "homeassistant/motion_light_custom.yaml",
"input": {
"motion_entity": "binary_sensor.presenza_bassa_scala_mansarda_occupancy",
"light_target": {
"device_id": "702137a6f2c17b89fdb0598f7003743c"
},
"no_motion_wait": 20
}
}
},
"context": {
"id": "01JB268V56VP11T5EK02879VY6",
"parent_id": "01JB268V54VRP6Z0J8ZFZ6WPXS",
"user_id": null
}
},
"short_dict": {
"last_step": "action/3",
"run_id": "da7d5060e9203ffce211fe20aafa8256",
"state": "stopped",
"script_execution": "finished",
"timestamp": {
"start": "2024-10-25T15:56:08.742262+00:00",
"finish": "2024-10-25T15:57:28.740915+00:00"
},
"domain": "automation",
"item_id": "1728594117428",
"trigger": "state of binary_sensor.presenza_bassa_scala_mansarda_occupancy"
}
},
{
"extended_dict": {
"last_step": "action/3",
"run_id": "859021cdc1b5e4c0bd2fdeb1076ac1e1",
"state": "stopped",
"script_execution": "finished",
"timestamp": {
"start": "2024-10-25T16:10:27.663392+00:00",
"finish": "2024-10-25T16:11:47.639925+00:00"
},
"domain": "automation",
"item_id": "1728594117428",
"trigger": "state of binary_sensor.presenza_bassa_scala_mansarda_occupancy",
"trace": {
"trigger/0": [
{
"path": "trigger/0",
"timestamp": "2024-10-25T16:10:27.663662+00:00",
"changed_variables": {
"this": {
"entity_id": "automation.scala_mansarda_sensore_basso",
"state": "on",
"attributes": {
"id": "1728594117428",
"last_triggered": "2024-10-25T15:56:08.743609+00:00",
"mode": "restart",
"current": 0,
"friendly_name": "Luce Scala Mansarda (sensore basso)"
},
"last_changed": "2024-10-23T23:34:55.062312+00:00",
"last_reported": "2024-10-25T15:57:28.736320+00:00",
"last_updated": "2024-10-25T15:57:28.736320+00:00",
"context": {
"id": "01JB26B990RN7KBX3H5DHHMF4T",
"parent_id": null,
"user_id": null
}
},
"trigger": {
"id": "0",
"idx": "0",
"alias": null,
"platform": "state",
"entity_id": "binary_sensor.presenza_bassa_scala_mansarda_occupancy",
"from_state": {
"entity_id": "binary_sensor.presenza_bassa_scala_mansarda_occupancy",
"state": "off",
"attributes": {
"device_class": "motion",
"friendly_name": "Presenza-Bassa-Scala-Mansarda Motion"
},
"last_changed": "2024-10-25T15:57:08.720011+00:00",
"last_reported": "2024-10-25T15:57:08.720011+00:00",
"last_updated": "2024-10-25T15:57:08.720011+00:00",
"context": {
"id": "01JB26ANQG4Q985GFD9JKBZDJC",
"parent_id": null,
"user_id": null
}
},
"to_state": {
"entity_id": "binary_sensor.presenza_bassa_scala_mansarda_occupancy",
"state": "on",
"attributes": {
"device_class": "motion",
"friendly_name": "Presenza-Bassa-Scala-Mansarda Motion"
},
"last_changed": "2024-10-25T16:10:27.661589+00:00",
"last_reported": "2024-10-25T16:10:27.661589+00:00",
"last_updated": "2024-10-25T16:10:27.661589+00:00",
"context": {
"id": "01JB2731YD37H6041QJBJJT7GY",
"parent_id": null,
"user_id": null
}
},
"for": null,
"attribute": null,
"description": "state of binary_sensor.presenza_bassa_scala_mansarda_occupancy"
}
}
}
],
"condition/0": [
{
"path": "condition/0",
"timestamp": "2024-10-25T16:10:27.663749+00:00",
"result": {
"wanted_time_before": "2024-10-25T06:51:18.426036+00:00",
"wanted_time_after": "2024-10-25T15:22:01.570734+00:00",
"result": true
}
}
],
"action/0": [
{
"path": "action/0",
"timestamp": "2024-10-25T16:10:27.665384+00:00",
"changed_variables": {
"context": {
"id": "01JB2731YFFMEV62GPA7Z4RH5C",
"parent_id": "01JB2731YD37H6041QJBJJT7GY",
"user_id": null
}
},
"result": {
"params": {
"domain": "light",
"service": "turn_on",
"service_data": {},
"target": {
"device_id": [
"702137a6f2c17b89fdb0598f7003743c"
]
}
},
"running_script": false
}
}
],
"action/1": [
{
"path": "action/1",
"timestamp": "2024-10-25T16:10:27.675524+00:00",
"changed_variables": {
"wait": {
"remaining": null,
"trigger": {
"id": "0",
"idx": "0",
"alias": null,
"platform": "state",
"entity_id": "binary_sensor.presenza_bassa_scala_mansarda_occupancy",
"from_state": {
"entity_id": "binary_sensor.presenza_bassa_scala_mansarda_occupancy",
"state": "on",
"attributes": {
"device_class": "motion",
"friendly_name": "Presenza-Bassa-Scala-Mansarda Motion"
},
"last_changed": "2024-10-25T16:10:27.661589+00:00",
"last_reported": "2024-10-25T16:10:27.661589+00:00",
"last_updated": "2024-10-25T16:10:27.661589+00:00",
"context": {
"id": "01JB2731YD37H6041QJBJJT7GY",
"parent_id": null,
"user_id": null
}
},
"to_state": {
"entity_id": "binary_sensor.presenza_bassa_scala_mansarda_occupancy",
"state": "off",
"attributes": {
"device_class": "motion",
"friendly_name": "Presenza-Bassa-Scala-Mansarda Motion"
},
"last_changed": "2024-10-25T16:11:27.629713+00:00",
"last_reported": "2024-10-25T16:11:27.629713+00:00",
"last_updated": "2024-10-25T16:11:27.629713+00:00",
"context": {
"id": "01JB274WGDHN4QYYEHVABVTD86",
"parent_id": null,
"user_id": null
}
},
"for": null,
"attribute": null,
"description": "state of binary_sensor.presenza_bassa_scala_mansarda_occupancy"
}
}
},
"result": {
"wait": {
"remaining": null,
"trigger": {
"id": "0",
"idx": "0",
"alias": null,
"platform": "state",
"entity_id": "binary_sensor.presenza_bassa_scala_mansarda_occupancy",
"from_state": {
"entity_id": "binary_sensor.presenza_bassa_scala_mansarda_occupancy",
"state": "on",
"attributes": {
"device_class": "motion",
"friendly_name": "Presenza-Bassa-Scala-Mansarda Motion"
},
"last_changed": "2024-10-25T16:10:27.661589+00:00",
"last_reported": "2024-10-25T16:10:27.661589+00:00",
"last_updated": "2024-10-25T16:10:27.661589+00:00",
"context": {
"id": "01JB2731YD37H6041QJBJJT7GY",
"parent_id": null,
"user_id": null
}
},
"to_state": {
"entity_id": "binary_sensor.presenza_bassa_scala_mansarda_occupancy",
"state": "off",
"attributes": {
"device_class": "motion",
"friendly_name": "Presenza-Bassa-Scala-Mansarda Motion"
},
"last_changed": "2024-10-25T16:11:27.629713+00:00",
"last_reported": "2024-10-25T16:11:27.629713+00:00",
"last_updated": "2024-10-25T16:11:27.629713+00:00",
"context": {
"id": "01JB274WGDHN4QYYEHVABVTD86",
"parent_id": null,
"user_id": null
}
},
"for": null,
"attribute": null,
"description": "state of binary_sensor.presenza_bassa_scala_mansarda_occupancy"
}
}
}
}
],
"action/2": [
{
"path": "action/2",
"timestamp": "2024-10-25T16:11:27.632488+00:00",
"result": {
"delay": 20.0,
"done": true
}
}
],
"action/3": [
{
"path": "action/3",
"timestamp": "2024-10-25T16:11:47.634871+00:00",
"result": {
"params": {
"domain": "light",
"service": "turn_off",
"service_data": {},
"target": {
"device_id": [
"702137a6f2c17b89fdb0598f7003743c"
]
}
},
"running_script": false
}
}
]
},
"config": {
"mode": "restart",
"max_exceeded": "silent",
"conditions": [
{
"condition": "sun",
"after": "sunset",
"after_offset": "-01:00:00",
"before": "sunrise",
"before_offset": "+01:00:00"
}
],
"actions": [
{
"alias": "Turn on the light",
"action": "light.turn_on",
"target": {
"device_id": "702137a6f2c17b89fdb0598f7003743c"
}
},
{
"alias": "Wait until there is no motion from device",
"wait_for_trigger": {
"trigger": "state",
"entity_id": "binary_sensor.presenza_bassa_scala_mansarda_occupancy",
"from": "on",
"to": "off"
}
},
{
"alias": "Wait the number of seconds that has been set",
"delay": 20
},
{
"alias": "Turn off the light",
"action": "light.turn_off",
"target": {
"device_id": "702137a6f2c17b89fdb0598f7003743c"
}
}
],
"triggers": {
"trigger": "state",
"entity_id": "binary_sensor.presenza_bassa_scala_mansarda_occupancy",
"from": "off",
"to": "on"
},
"id": "1728594117428",
"alias": "Luce Scala Mansarda (sensore basso)",
"description": "Attiva Luce Scala Mansarda su presenza"
},
"blueprint_inputs": {
"id": "1728594117428",
"alias": "Luce Scala Mansarda (sensore basso)",
"description": "Attiva Luce Scala Mansarda su presenza",
"use_blueprint": {
"path": "homeassistant/motion_light_custom.yaml",
"input": {
"motion_entity": "binary_sensor.presenza_bassa_scala_mansarda_occupancy",
"light_target": {
"device_id": "702137a6f2c17b89fdb0598f7003743c"
},
"no_motion_wait": 20
}
}
},
"context": {
"id": "01JB2731YFFMEV62GPA7Z4RH5C",
"parent_id": "01JB2731YD37H6041QJBJJT7GY",
"user_id": null
}
},
"short_dict": {
"last_step": "action/3",
"run_id": "859021cdc1b5e4c0bd2fdeb1076ac1e1",
"state": "stopped",
"script_execution": "finished",
"timestamp": {
"start": "2024-10-25T16:10:27.663392+00:00",
"finish": "2024-10-25T16:11:47.639925+00:00"
},
"domain": "automation",
"item_id": "1728594117428",
"trigger": "state of binary_sensor.presenza_bassa_scala_mansarda_occupancy"
}
}
],
"automation.1709331511622": [
{
"extended_dict": {
"last_step": "action/0",
"run_id": "712b273c2523a0a01d8ef009beafd428",
"state": "stopped",
"script_execution": "finished",
"timestamp": {
"start": "2024-10-24T19:17:23.487008+00:00",
"finish": "2024-10-24T19:17:23.506972+00:00"
},
"domain": "automation",
"item_id": "1709331511622",
"trigger": "state of binary_sensor.bagnopt_finestra_contact",
"trace": {
"trigger/0": [
{
"path": "trigger/0",
"timestamp": "2024-10-24T19:17:23.487240+00:00",
"changed_variables": {
"this": {
"entity_id": "automation.bagno_pt_heat_save",
"state": "on",
"attributes": {
"id": "1709331511622",
"last_triggered": "2024-10-23T23:07:55.173540+00:00",
"mode": "single",
"current": 0,
"friendly_name": "BagnoPT-heat_save"
},
"last_changed": "2024-10-24T09:37:46.170269+00:00",
"last_reported": "2024-10-24T09:37:46.170269+00:00",
"last_updated": "2024-10-24T09:37:46.170269+00:00",
"context": {
"id": "01JAYY79NTYTRPR2P48K70WTWC",
"parent_id": null,
"user_id": null
}
},
"trigger": {
"id": "0",
"idx": "0",
"alias": null,
"platform": "device",
"entity_id": "binary_sensor.bagnopt_finestra_contact",
"from_state": {
"entity_id": "binary_sensor.bagnopt_finestra_contact",
"state": "off",
"attributes": {
"device_class": "door",
"friendly_name": "BagnoPT-Finestra Door"
},
"last_changed": "2024-10-24T09:52:39.385204+00:00",
"last_reported": "2024-10-24T09:52:39.385204+00:00",
"last_updated": "2024-10-24T09:52:39.385204+00:00",
"context": {
"id": "01JAYZ2HYSTPZNZ0M57PKQFEW8",
"parent_id": null,
"user_id": null
}
},
"to_state": {
"entity_id": "binary_sensor.bagnopt_finestra_contact",
"state": "on",
"attributes": {
"device_class": "door",
"friendly_name": "BagnoPT-Finestra Door"
},
"last_changed": "2024-10-24T19:17:23.485462+00:00",
"last_reported": "2024-10-24T19:17:23.485462+00:00",
"last_updated": "2024-10-24T19:17:23.485462+00:00",
"context": {
"id": "01JAZZCKWX7EGCTCV8QGQB6CFJ",
"parent_id": null,
"user_id": null
}
},
"for": null,
"attribute": null,
"description": "state of binary_sensor.bagnopt_finestra_contact"
}
}
}
],
"condition/0": [
{
"path": "condition/0",
"timestamp": "2024-10-24T19:17:23.487344+00:00",
"result": {
"result": true
}
}
],
"condition/0/entity_id/0": [
{
"path": "condition/0/entity_id/0",
"timestamp": "2024-10-24T19:17:23.487398+00:00",
"result": {
"result": true,
"state": 15.4
}
}
],
"action/0": [
{
"path": "action/0",
"timestamp": "2024-10-24T19:17:23.488543+00:00",
"changed_variables": {
"context": {
"id": "01JAZZCKWYXDPQ3WSP1ZHQ7XQ1",
"parent_id": "01JAZZCKWX7EGCTCV8QGQB6CFJ",
"user_id": null
}
}
}
]
},
"config": {
"id": "1709331511622",
"alias": "BagnoPT-heat_save",
"description": "When someone leaves the window open set heat temperature to low value to save power",
"triggers": [
{
"type": "opened",
"device_id": "f93100fe27b6e5bbb01435d9c7c62c39",
"entity_id": "e9b204a2e6a6c7c7c26ecb7099d87a11",
"domain": "binary_sensor",
"trigger": "device"
}
],
"conditions": [
{
"condition": "numeric_state",
"entity_id": "sensor.esterno_temperature",
"below": 18
}
],
"actions": [
{
"device_id": "7743d6b58e5c464426e4b53416a74c7a",
"domain": "climate",
"entity_id": "d23578d0c01a087c7c2247fa8fab1113",
"type": "set_hvac_mode",
"hvac_mode": "off"
}
],
"mode": "single"
},
"blueprint_inputs": null,
"context": {
"id": "01JAZZCKWYXDPQ3WSP1ZHQ7XQ1",
"parent_id": "01JAZZCKWX7EGCTCV8QGQB6CFJ",
"user_id": null
}
},
"short_dict": {
"last_step": "action/0",
"run_id": "712b273c2523a0a01d8ef009beafd428",
"state": "stopped",
"script_execution": "finished",
"timestamp": {
"start": "2024-10-24T19:17:23.487008+00:00",
"finish": "2024-10-24T19:17:23.506972+00:00"
},
"domain": "automation",
"item_id": "1709331511622",
"trigger": "state of binary_sensor.bagnopt_finestra_contact"
}
},
{
"extended_dict": {
"last_step": "action/0",
"run_id": "1b07f38559e0d1bb0f6b93804511dcd6",
"state": "stopped",
"script_execution": "finished",
"timestamp": {
"start": "2024-10-24T19:30:42.988355+00:00",
"finish": "2024-10-24T19:30:43.002005+00:00"
},
"domain": "automation",
"item_id": "1709331511622",
"trigger": "state of binary_sensor.bagnopt_finestra_contact",
"trace": {
"trigger/0": [
{
"path": "trigger/0",
"timestamp": "2024-10-24T19:30:42.988576+00:00",
"changed_variables": {
"this": {
"entity_id": "automation.bagno_pt_heat_save",
"state": "on",
"attributes": {
"id": "1709331511622",
"last_triggered": "2024-10-24T19:17:23.487765+00:00",
"mode": "single",
"current": 0,
"friendly_name": "BagnoPT-heat_save"
},
"last_changed": "2024-10-24T09:37:46.170269+00:00",
"last_reported": "2024-10-24T19:17:23.505860+00:00",
"last_updated": "2024-10-24T19:17:23.505860+00:00",
"context": {
"id": "01JAZZCKWYXDPQ3WSP1ZHQ7XQ1",
"parent_id": "01JAZZCKWX7EGCTCV8QGQB6CFJ",
"user_id": null
}
},
"trigger": {
"id": "0",
"idx": "0",
"alias": null,
"platform": "device",
"entity_id": "binary_sensor.bagnopt_finestra_contact",
"from_state": {
"entity_id": "binary_sensor.bagnopt_finestra_contact",
"state": "off",
"attributes": {
"device_class": "door",
"friendly_name": "BagnoPT-Finestra Door"
},
"last_changed": "2024-10-24T19:17:36.858404+00:00",
"last_reported": "2024-10-24T19:17:36.858404+00:00",
"last_updated": "2024-10-24T19:17:36.858404+00:00",
"context": {
"id": "01JAZZD0YT4GRSWWQES0SP906A",
"parent_id": null,
"user_id": null
}
},
"to_state": {
"entity_id": "binary_sensor.bagnopt_finestra_contact",
"state": "on",
"attributes": {
"device_class": "door",
"friendly_name": "BagnoPT-Finestra Door"
},
"last_changed": "2024-10-24T19:30:42.987211+00:00",
"last_reported": "2024-10-24T19:30:42.987211+00:00",
"last_updated": "2024-10-24T19:30:42.987211+00:00",
"context": {
"id": "01JB0050NB6YAA3D9S75WGFB4S",
"parent_id": null,
"user_id": null
}
},
"for": null,
"attribute": null,
"description": "state of binary_sensor.bagnopt_finestra_contact"
}
}
}
],
"condition/0": [
{
"path": "condition/0",
"timestamp": "2024-10-24T19:30:42.988697+00:00",
"result": {
"result": true
}
}
],
"condition/0/entity_id/0": [
{
"path": "condition/0/entity_id/0",
"timestamp": "2024-10-24T19:30:42.988754+00:00",
"result": {
"result": true,
"state": 15.4
}
}
],
"action/0": [
{
"path": "action/0",
"timestamp": "2024-10-24T19:30:42.989660+00:00",
"changed_variables": {
"context": {
"id": "01JB0050NCPPP2ZFY5W9NXT4R3",
"parent_id": "01JB0050NB6YAA3D9S75WGFB4S",
"user_id": null
}
}
}
]
},
"config": {
"id": "1709331511622",
"alias": "BagnoPT-heat_save",
"description": "When someone leaves the window open set heat temperature to low value to save power",
"triggers": [
{
"type": "opened",
"device_id": "f93100fe27b6e5bbb01435d9c7c62c39",
"entity_id": "e9b204a2e6a6c7c7c26ecb7099d87a11",
"domain": "binary_sensor",
"trigger": "device"
}
],
"conditions": [
{
"condition": "numeric_state",
"entity_id": "sensor.esterno_temperature",
"below": 18
}
],
"actions": [
{
"device_id": "7743d6b58e5c464426e4b53416a74c7a",
"domain": "climate",
"entity_id": "d23578d0c01a087c7c2247fa8fab1113",
"type": "set_hvac_mode",
"hvac_mode": "off"
}
],
"mode": "single"
},
"blueprint_inputs": null,
"context": {
"id": "01JB0050NCPPP2ZFY5W9NXT4R3",
"parent_id": "01JB0050NB6YAA3D9S75WGFB4S",
"user_id": null
}
},
"short_dict": {
"last_step": "action/0",
"run_id": "1b07f38559e0d1bb0f6b93804511dcd6",
"state": "stopped",
"script_execution": "finished",
"timestamp": {
"start": "2024-10-24T19:30:42.988355+00:00",
"finish": "2024-10-24T19:30:43.002005+00:00"
},
"domain": "automation",
"item_id": "1709331511622",
"trigger": "state of binary_sensor.bagnopt_finestra_contact"
}
},
{
"extended_dict": {
"last_step": "action/0",
"run_id": "b151777be9d0953ad50ca382774e7bf4",
"state": "stopped",
"script_execution": "finished",
"timestamp": {
"start": "2024-10-25T07:02:35.918491+00:00",
"finish": "2024-10-25T07:02:35.926264+00:00"
},
"domain": "automation",
"item_id": "1709331511622",
"trigger": "state of binary_sensor.bagnopt_finestra_contact",
"trace": {
"trigger/0": [
{
"path": "trigger/0",
"timestamp": "2024-10-25T07:02:35.918901+00:00",
"changed_variables": {
"this": {
"entity_id": "automation.bagno_pt_heat_save",
"state": "on",
"attributes": {
"id": "1709331511622",
"last_triggered": "2024-10-24T19:30:42.989001+00:00",
"mode": "single",
"current": 0,
"friendly_name": "BagnoPT-heat_save"
},
"last_changed": "2024-10-24T09:37:46.170269+00:00",
"last_reported": "2024-10-24T19:30:42.996962+00:00",
"last_updated": "2024-10-24T19:30:42.996962+00:00",
"context": {
"id": "01JB0050NCPPP2ZFY5W9NXT4R3",
"parent_id": "01JB0050NB6YAA3D9S75WGFB4S",
"user_id": null
}
},
"trigger": {
"id": "0",
"idx": "0",
"alias": null,
"platform": "device",
"entity_id": "binary_sensor.bagnopt_finestra_contact",
"from_state": {
"entity_id": "binary_sensor.bagnopt_finestra_contact",
"state": "off",
"attributes": {
"device_class": "door",
"friendly_name": "BagnoPT-Finestra Door"
},
"last_changed": "2024-10-24T19:40:47.718715+00:00",
"last_reported": "2024-10-24T19:40:47.718715+00:00",
"last_updated": "2024-10-24T19:40:47.718715+00:00",
"context": {
"id": "01JB00QF76DW9BFECS4CADNZMK",
"parent_id": null,
"user_id": null
}
},
"to_state": {
"entity_id": "binary_sensor.bagnopt_finestra_contact",
"state": "on",
"attributes": {
"device_class": "door",
"friendly_name": "BagnoPT-Finestra Door"
},
"last_changed": "2024-10-25T07:02:35.916481+00:00",
"last_reported": "2024-10-25T07:02:35.916481+00:00",
"last_updated": "2024-10-25T07:02:35.916481+00:00",
"context": {
"id": "01JB17QWMCD9EGBXX920DN85TQ",
"parent_id": null,
"user_id": null
}
},
"for": null,
"attribute": null,
"description": "state of binary_sensor.bagnopt_finestra_contact"
}
}
}
],
"condition/0": [
{
"path": "condition/0",
"timestamp": "2024-10-25T07:02:35.919035+00:00",
"result": {
"result": true
}
}
],
"condition/0/entity_id/0": [
{
"path": "condition/0/entity_id/0",
"timestamp": "2024-10-25T07:02:35.919100+00:00",
"result": {
"result": true,
"state": 15.0
}
}
],
"action/0": [
{
"path": "action/0",
"timestamp": "2024-10-25T07:02:35.920213+00:00",
"changed_variables": {
"context": {
"id": "01JB17QWMEQEW7BZ5YFK11B44S",
"parent_id": "01JB17QWMCD9EGBXX920DN85TQ",
"user_id": null
}
}
}
]
},
"config": {
"id": "1709331511622",
"alias": "BagnoPT-heat_save",
"description": "When someone leaves the window open set heat temperature to low value to save power",
"triggers": [
{
"type": "opened",
"device_id": "f93100fe27b6e5bbb01435d9c7c62c39",
"entity_id": "e9b204a2e6a6c7c7c26ecb7099d87a11",
"domain": "binary_sensor",
"trigger": "device"
}
],
"conditions": [
{
"condition": "numeric_state",
"entity_id": "sensor.esterno_temperature",
"below": 18
}
],
"actions": [
{
"device_id": "7743d6b58e5c464426e4b53416a74c7a",
"domain": "climate",
"entity_id": "d23578d0c01a087c7c2247fa8fab1113",
"type": "set_hvac_mode",
"hvac_mode": "off"
}
],
"mode": "single"
},
"blueprint_inputs": null,
"context": {
"id": "01JB17QWMEQEW7BZ5YFK11B44S",
"parent_id": "01JB17QWMCD9EGBXX920DN85TQ",
"user_id": null
}
},
"short_dict": {
"last_step": "action/0",
"run_id": "b151777be9d0953ad50ca382774e7bf4",
"state": "stopped",
"script_execution": "finished",
"timestamp": {
"start": "2024-10-25T07:02:35.918491+00:00",
"finish": "2024-10-25T07:02:35.926264+00:00"
},
"domain": "automation",
"item_id": "1709331511622",
"trigger": "state of binary_sensor.bagnopt_finestra_contact"
}
},
{
"extended_dict": {
"last_step": "action/0",
"run_id": "a4ea49a983c06c9fe25da49c2e2c9dc2",
"state": "stopped",
"script_execution": "finished",
"timestamp": {
"start": "2024-10-25T07:14:37.261986+00:00",
"finish": "2024-10-25T07:14:37.269777+00:00"
},
"domain": "automation",
"item_id": "1709331511622",
"trigger": "state of binary_sensor.bagnopt_finestra_contact",
"trace": {
"trigger/0": [
{
"path": "trigger/0",
"timestamp": "2024-10-25T07:14:37.262210+00:00",
"changed_variables": {
"this": {
"entity_id": "automation.bagno_pt_heat_save",
"state": "on",
"attributes": {
"id": "1709331511622",
"last_triggered": "2024-10-25T07:02:35.919532+00:00",
"mode": "single",
"current": 0,
"friendly_name": "BagnoPT-heat_save"
},
"last_changed": "2024-10-24T09:37:46.170269+00:00",
"last_reported": "2024-10-25T07:02:35.925077+00:00",
"last_updated": "2024-10-25T07:02:35.925077+00:00",
"context": {
"id": "01JB17QWMEQEW7BZ5YFK11B44S",
"parent_id": "01JB17QWMCD9EGBXX920DN85TQ",
"user_id": null
}
},
"trigger": {
"id": "0",
"idx": "0",
"alias": null,
"platform": "device",
"entity_id": "binary_sensor.bagnopt_finestra_contact",
"from_state": {
"entity_id": "binary_sensor.bagnopt_finestra_contact",
"state": "off",
"attributes": {
"device_class": "door",
"friendly_name": "BagnoPT-Finestra Door"
},
"last_changed": "2024-10-25T07:02:48.823041+00:00",
"last_reported": "2024-10-25T07:02:48.823041+00:00",
"last_updated": "2024-10-25T07:02:48.823041+00:00",
"context": {
"id": "01JB17R97QW9PYT1TBC61A2FB6",
"parent_id": null,
"user_id": null
}
},
"to_state": {
"entity_id": "binary_sensor.bagnopt_finestra_contact",
"state": "on",
"attributes": {
"device_class": "door",
"friendly_name": "BagnoPT-Finestra Door"
},
"last_changed": "2024-10-25T07:14:37.260293+00:00",
"last_reported": "2024-10-25T07:14:37.260293+00:00",
"last_updated": "2024-10-25T07:14:37.260293+00:00",
"context": {
"id": "01JB18DX2C8DSQFMQE7PHM28AN",
"parent_id": null,
"user_id": null
}
},
"for": null,
"attribute": null,
"description": "state of binary_sensor.bagnopt_finestra_contact"
}
}
}
],
"condition/0": [
{
"path": "condition/0",
"timestamp": "2024-10-25T07:14:37.262288+00:00",
"result": {
"result": true
}
}
],
"condition/0/entity_id/0": [
{
"path": "condition/0/entity_id/0",
"timestamp": "2024-10-25T07:14:37.262340+00:00",
"result": {
"result": true,
"state": 15.0
}
}
],
"action/0": [
{
"path": "action/0",
"timestamp": "2024-10-25T07:14:37.263041+00:00",
"changed_variables": {
"context": {
"id": "01JB18DX2DF4S1XQ5QCFDV5M33",
"parent_id": "01JB18DX2C8DSQFMQE7PHM28AN",
"user_id": null
}
}
}
]
},
"config": {
"id": "1709331511622",
"alias": "BagnoPT-heat_save",
"description": "When someone leaves the window open set heat temperature to low value to save power",
"triggers": [
{
"type": "opened",
"device_id": "f93100fe27b6e5bbb01435d9c7c62c39",
"entity_id": "e9b204a2e6a6c7c7c26ecb7099d87a11",
"domain": "binary_sensor",
"trigger": "device"
}
],
"conditions": [
{
"condition": "numeric_state",
"entity_id": "sensor.esterno_temperature",
"below": 18
}
],
"actions": [
{
"device_id": "7743d6b58e5c464426e4b53416a74c7a",
"domain": "climate",
"entity_id": "d23578d0c01a087c7c2247fa8fab1113",
"type": "set_hvac_mode",
"hvac_mode": "off"
}
],
"mode": "single"
},
"blueprint_inputs": null,
"context": {
"id": "01JB18DX2DF4S1XQ5QCFDV5M33",
"parent_id": "01JB18DX2C8DSQFMQE7PHM28AN",
"user_id": null
}
},
"short_dict": {
"last_step": "action/0",
"run_id": "a4ea49a983c06c9fe25da49c2e2c9dc2",
"state": "stopped",
"script_execution": "finished",
"timestamp": {
"start": "2024-10-25T07:14:37.261986+00:00",
"finish": "2024-10-25T07:14:37.269777+00:00"
},
"domain": "automation",
"item_id": "1709331511622",
"trigger": "state of binary_sensor.bagnopt_finestra_contact"
}
},
{
"extended_dict": {
"last_step": "action/0",
"run_id": "dc49acf8735849d7e05212b4ef7425ed",
"state": "stopped",
"script_execution": "finished",
"timestamp": {
"start": "2024-10-25T12:35:20.254137+00:00",
"finish": "2024-10-25T12:35:20.267073+00:00"
},
"domain": "automation",
"item_id": "1709331511622",
"trigger": "state of binary_sensor.bagnopt_finestra_contact",
"trace": {
"trigger/0": [
{
"path": "trigger/0",
"timestamp": "2024-10-25T12:35:20.254368+00:00",
"changed_variables": {
"this": {
"entity_id": "automation.bagno_pt_heat_save",
"state": "on",
"attributes": {
"id": "1709331511622",
"last_triggered": "2024-10-25T07:14:37.262685+00:00",
"mode": "single",
"current": 0,
"friendly_name": "BagnoPT-heat_save"
},
"last_changed": "2024-10-24T09:37:46.170269+00:00",
"last_reported": "2024-10-25T07:14:37.268320+00:00",
"last_updated": "2024-10-25T07:14:37.268320+00:00",
"context": {
"id": "01JB18DX2DF4S1XQ5QCFDV5M33",
"parent_id": "01JB18DX2C8DSQFMQE7PHM28AN",
"user_id": null
}
},
"trigger": {
"id": "0",
"idx": "0",
"alias": null,
"platform": "device",
"entity_id": "binary_sensor.bagnopt_finestra_contact",
"from_state": {
"entity_id": "binary_sensor.bagnopt_finestra_contact",
"state": "off",
"attributes": {
"device_class": "door",
"friendly_name": "BagnoPT-Finestra Door"
},
"last_changed": "2024-10-25T09:16:59.333270+00:00",
"last_reported": "2024-10-25T09:16:59.333270+00:00",
"last_updated": "2024-10-25T09:16:59.333270+00:00",
"context": {
"id": "01JB1FDZ25R9THZ5JXFMMY2JVV",
"parent_id": null,
"user_id": null
}
},
"to_state": {
"entity_id": "binary_sensor.bagnopt_finestra_contact",
"state": "on",
"attributes": {
"device_class": "door",
"friendly_name": "BagnoPT-Finestra Door"
},
"last_changed": "2024-10-25T12:35:20.252021+00:00",
"last_reported": "2024-10-25T12:35:20.252021+00:00",
"last_updated": "2024-10-25T12:35:20.252021+00:00",
"context": {
"id": "01JB1TS51WHSZ467ZX8A5Z4994",
"parent_id": null,
"user_id": null
}
},
"for": null,
"attribute": null,
"description": "state of binary_sensor.bagnopt_finestra_contact"
}
}
}
],
"condition/0": [
{
"path": "condition/0",
"timestamp": "2024-10-25T12:35:20.254460+00:00",
"result": {
"result": true
}
}
],
"condition/0/entity_id/0": [
{
"path": "condition/0/entity_id/0",
"timestamp": "2024-10-25T12:35:20.254508+00:00",
"result": {
"result": true,
"state": 15.9
}
}
],
"action/0": [
{
"path": "action/0",
"timestamp": "2024-10-25T12:35:20.255277+00:00",
"changed_variables": {
"context": {
"id": "01JB1TS51YY8XTZZ66ND2C0BQA",
"parent_id": "01JB1TS51WHSZ467ZX8A5Z4994",
"user_id": null
}
}
}
]
},
"config": {
"id": "1709331511622",
"alias": "BagnoPT-heat_save",
"description": "When someone leaves the window open set heat temperature to low value to save power",
"triggers": [
{
"type": "opened",
"device_id": "f93100fe27b6e5bbb01435d9c7c62c39",
"entity_id": "e9b204a2e6a6c7c7c26ecb7099d87a11",
"domain": "binary_sensor",
"trigger": "device"
}
],
"conditions": [
{
"condition": "numeric_state",
"entity_id": "sensor.esterno_temperature",
"below": 18
}
],
"actions": [
{
"device_id": "7743d6b58e5c464426e4b53416a74c7a",
"domain": "climate",
"entity_id": "d23578d0c01a087c7c2247fa8fab1113",
"type": "set_hvac_mode",
"hvac_mode": "off"
}
],
"mode": "single"
},
"blueprint_inputs": null,
"context": {
"id": "01JB1TS51YY8XTZZ66ND2C0BQA",
"parent_id": "01JB1TS51WHSZ467ZX8A5Z4994",
"user_id": null
}
},
"short_dict": {
"last_step": "action/0",
"run_id": "dc49acf8735849d7e05212b4ef7425ed",
"state": "stopped",
"script_execution": "finished",
"timestamp": {
"start": "2024-10-25T12:35:20.254137+00:00",
"finish": "2024-10-25T12:35:20.267073+00:00"
},
"domain": "automation",
"item_id": "1709331511622",
"trigger": "state of binary_sensor.bagnopt_finestra_contact"
}
}
],
"automation.1709401667410": [
{
"extended_dict": {
"last_step": "action/3",
"run_id": "7a02ba4926ab1f57373b9e5b7544c226",
"state": "stopped",
"script_execution": "finished",
"timestamp": {
"start": "2024-10-25T11:41:28.227014+00:00",
"finish": "2024-10-25T11:42:56.016400+00:00"
},
"domain": "automation",
"item_id": "1709401667410",
"trigger": "state of binary_sensor.presenza_alta_scala_taverna_occupancy",
"trace": {
"trigger/0": [
{
"path": "trigger/0",
"timestamp": "2024-10-25T11:41:28.227433+00:00",
"changed_variables": {
"this": {
"entity_id": "automation.scala_taverna",
"state": "on",
"attributes": {
"id": "1709401667410",
"last_triggered": "2024-10-25T11:39:26.888820+00:00",
"mode": "restart",
"current": 0,
"friendly_name": "Luce Scala Taverna (sensore alto)"
},
"last_changed": "2024-10-23T23:34:55.058618+00:00",
"last_reported": "2024-10-25T11:40:52.087065+00:00",
"last_updated": "2024-10-25T11:40:52.087065+00:00",
"context": {
"id": "01JB1QNDFQS9DD68MYN5ETB4TH",
"parent_id": null,
"user_id": null
}
},
"trigger": {
"id": "0",
"idx": "0",
"alias": null,
"platform": "state",
"entity_id": "binary_sensor.presenza_alta_scala_taverna_occupancy",
"from_state": {
"entity_id": "binary_sensor.presenza_alta_scala_taverna_occupancy",
"state": "off",
"attributes": {
"device_class": "motion",
"friendly_name": "Presenza-Alta-Scala-Taverna Motion"
},
"last_changed": "2024-10-25T11:40:32.075763+00:00",
"last_reported": "2024-10-25T11:40:32.075763+00:00",
"last_updated": "2024-10-25T11:40:32.075763+00:00",
"context": {
"id": "01JB1QMSYBTE0PHYJPQ24BJ6YG",
"parent_id": null,
"user_id": null
}
},
"to_state": {
"entity_id": "binary_sensor.presenza_alta_scala_taverna_occupancy",
"state": "on",
"attributes": {
"device_class": "motion",
"friendly_name": "Presenza-Alta-Scala-Taverna Motion"
},
"last_changed": "2024-10-25T11:41:28.224695+00:00",
"last_reported": "2024-10-25T11:41:28.224695+00:00",
"last_updated": "2024-10-25T11:41:28.224695+00:00",
"context": {
"id": "01JB1QPGS0Z9GFX6M7Z57DEJJF",
"parent_id": null,
"user_id": null
}
},
"for": null,
"attribute": null,
"description": "state of binary_sensor.presenza_alta_scala_taverna_occupancy"
}
}
}
],
"action/0": [
{
"path": "action/0",
"timestamp": "2024-10-25T11:41:28.228395+00:00",
"changed_variables": {
"context": {
"id": "01JB1QPGS28BPVX67X50MGH89E",
"parent_id": "01JB1QPGS0Z9GFX6M7Z57DEJJF",
"user_id": null
}
},
"result": {
"params": {
"domain": "light",
"service": "turn_on",
"service_data": {},
"target": {
"device_id": [
"226779fb30bd68c5a2784ccd762d90e9"
]
}
},
"running_script": false
}
}
],
"action/1": [
{
"path": "action/1",
"timestamp": "2024-10-25T11:41:28.232110+00:00",
"changed_variables": {
"wait": {
"remaining": null,
"trigger": {
"id": "0",
"idx": "0",
"alias": null,
"platform": "state",
"entity_id": "binary_sensor.presenza_alta_scala_taverna_occupancy",
"from_state": {
"entity_id": "binary_sensor.presenza_alta_scala_taverna_occupancy",
"state": "on",
"attributes": {
"device_class": "motion",
"friendly_name": "Presenza-Alta-Scala-Taverna Motion"
},
"last_changed": "2024-10-25T11:41:28.224695+00:00",
"last_reported": "2024-10-25T11:41:28.224695+00:00",
"last_updated": "2024-10-25T11:41:28.224695+00:00",
"context": {
"id": "01JB1QPGS0Z9GFX6M7Z57DEJJF",
"parent_id": null,
"user_id": null
}
},
"to_state": {
"entity_id": "binary_sensor.presenza_alta_scala_taverna_occupancy",
"state": "off",
"attributes": {
"device_class": "motion",
"friendly_name": "Presenza-Alta-Scala-Taverna Motion"
},
"last_changed": "2024-10-25T11:42:36.005580+00:00",
"last_reported": "2024-10-25T11:42:36.005580+00:00",
"last_updated": "2024-10-25T11:42:36.005580+00:00",
"context": {
"id": "01JB1QRJZ56F8M3E0BX9WETTQT",
"parent_id": null,
"user_id": null
}
},
"for": null,
"attribute": null,
"description": "state of binary_sensor.presenza_alta_scala_taverna_occupancy"
}
}
},
"result": {
"wait": {
"remaining": null,
"trigger": {
"id": "0",
"idx": "0",
"alias": null,
"platform": "state",
"entity_id": "binary_sensor.presenza_alta_scala_taverna_occupancy",
"from_state": {
"entity_id": "binary_sensor.presenza_alta_scala_taverna_occupancy",
"state": "on",
"attributes": {
"device_class": "motion",
"friendly_name": "Presenza-Alta-Scala-Taverna Motion"
},
"last_changed": "2024-10-25T11:41:28.224695+00:00",
"last_reported": "2024-10-25T11:41:28.224695+00:00",
"last_updated": "2024-10-25T11:41:28.224695+00:00",
"context": {
"id": "01JB1QPGS0Z9GFX6M7Z57DEJJF",
"parent_id": null,
"user_id": null
}
},
"to_state": {
"entity_id": "binary_sensor.presenza_alta_scala_taverna_occupancy",
"state": "off",
"attributes": {
"device_class": "motion",
"friendly_name": "Presenza-Alta-Scala-Taverna Motion"
},
"last_changed": "2024-10-25T11:42:36.005580+00:00",
"last_reported": "2024-10-25T11:42:36.005580+00:00",
"last_updated": "2024-10-25T11:42:36.005580+00:00",
"context": {
"id": "01JB1QRJZ56F8M3E0BX9WETTQT",
"parent_id": null,
"user_id": null
}
},
"for": null,
"attribute": null,
"description": "state of binary_sensor.presenza_alta_scala_taverna_occupancy"
}
}
}
}
],
"action/2": [
{
"path": "action/2",
"timestamp": "2024-10-25T11:42:36.008770+00:00",
"result": {
"delay": 20.0,
"done": true
}
}
],
"action/3": [
{
"path": "action/3",
"timestamp": "2024-10-25T11:42:56.011129+00:00",
"result": {
"params": {
"domain": "light",
"service": "turn_off",
"service_data": {},
"target": {
"device_id": [
"226779fb30bd68c5a2784ccd762d90e9"
]
}
},
"running_script": false
}
}
]
},
"config": {
"mode": "restart",
"max_exceeded": "silent",
"actions": [
{
"alias": "Turn on the light",
"action": "light.turn_on",
"target": {
"device_id": "226779fb30bd68c5a2784ccd762d90e9"
}
},
{
"alias": "Wait until there is no motion from device",
"wait_for_trigger": {
"trigger": "state",
"entity_id": "binary_sensor.presenza_alta_scala_taverna_occupancy",
"from": "on",
"to": "off"
}
},
{
"alias": "Wait the number of seconds that has been set",
"delay": 20
},
{
"alias": "Turn off the light",
"action": "light.turn_off",
"target": {
"device_id": "226779fb30bd68c5a2784ccd762d90e9"
}
}
],
"triggers": {
"trigger": "state",
"entity_id": "binary_sensor.presenza_alta_scala_taverna_occupancy",
"from": "off",
"to": "on"
},
"id": "1709401667410",
"alias": "Luce Scala Taverna (sensore alto)",
"description": "Attiva Luce Scala Taverna su presenza"
},
"blueprint_inputs": {
"id": "1709401667410",
"alias": "Luce Scala Taverna (sensore alto)",
"description": "Attiva Luce Scala Taverna su presenza",
"use_blueprint": {
"path": "homeassistant/motion_light.yaml",
"input": {
"motion_entity": "binary_sensor.presenza_alta_scala_taverna_occupancy",
"light_target": {
"device_id": "226779fb30bd68c5a2784ccd762d90e9"
},
"no_motion_wait": 20
}
}
},
"context": {
"id": "01JB1QPGS28BPVX67X50MGH89E",
"parent_id": "01JB1QPGS0Z9GFX6M7Z57DEJJF",
"user_id": null
}
},
"short_dict": {
"last_step": "action/3",
"run_id": "7a02ba4926ab1f57373b9e5b7544c226",
"state": "stopped",
"script_execution": "finished",
"timestamp": {
"start": "2024-10-25T11:41:28.227014+00:00",
"finish": "2024-10-25T11:42:56.016400+00:00"
},
"domain": "automation",
"item_id": "1709401667410",
"trigger": "state of binary_sensor.presenza_alta_scala_taverna_occupancy"
}
},
{
"extended_dict": {
"last_step": "action/3",
"run_id": "ed5d448cf3935c1e2c22a7796950e268",
"state": "stopped",
"script_execution": "finished",
"timestamp": {
"start": "2024-10-25T12:20:32.409509+00:00",
"finish": "2024-10-25T12:22:12.787889+00:00"
},
"domain": "automation",
"item_id": "1709401667410",
"trigger": "state of binary_sensor.presenza_alta_scala_taverna_occupancy",
"trace": {
"trigger/0": [
{
"path": "trigger/0",
"timestamp": "2024-10-25T12:20:32.409765+00:00",
"changed_variables": {
"this": {
"entity_id": "automation.scala_taverna",
"state": "on",
"attributes": {
"id": "1709401667410",
"last_triggered": "2024-10-25T11:41:28.227790+00:00",
"mode": "restart",
"current": 0,
"friendly_name": "Luce Scala Taverna (sensore alto)"
},
"last_changed": "2024-10-23T23:34:55.058618+00:00",
"last_reported": "2024-10-25T11:42:56.015964+00:00",
"last_updated": "2024-10-25T11:42:56.015964+00:00",
"context": {
"id": "01JB1QS6GFV8DVJX8VK34P5KDB",
"parent_id": null,
"user_id": null
}
},
"trigger": {
"id": "0",
"idx": "0",
"alias": null,
"platform": "state",
"entity_id": "binary_sensor.presenza_alta_scala_taverna_occupancy",
"from_state": {
"entity_id": "binary_sensor.presenza_alta_scala_taverna_occupancy",
"state": "off",
"attributes": {
"device_class": "motion",
"friendly_name": "Presenza-Alta-Scala-Taverna Motion"
},
"last_changed": "2024-10-25T11:42:36.005580+00:00",
"last_reported": "2024-10-25T11:42:36.005580+00:00",
"last_updated": "2024-10-25T11:42:36.005580+00:00",
"context": {
"id": "01JB1QRJZ56F8M3E0BX9WETTQT",
"parent_id": null,
"user_id": null
}
},
"to_state": {
"entity_id": "binary_sensor.presenza_alta_scala_taverna_occupancy",
"state": "on",
"attributes": {
"device_class": "motion",
"friendly_name": "Presenza-Alta-Scala-Taverna Motion"
},
"last_changed": "2024-10-25T12:20:32.407032+00:00",
"last_reported": "2024-10-25T12:20:32.407032+00:00",
"last_updated": "2024-10-25T12:20:32.407032+00:00",
"context": {
"id": "01JB1SY20QM3R4HG5DAXBN3TN5",
"parent_id": null,
"user_id": null
}
},
"for": null,
"attribute": null,
"description": "state of binary_sensor.presenza_alta_scala_taverna_occupancy"
}
}
}
],
"action/0": [
{
"path": "action/0",
"timestamp": "2024-10-25T12:20:32.410589+00:00",
"changed_variables": {
"context": {
"id": "01JB1SY20SVZG8F4G65QPVFC9A",
"parent_id": "01JB1SY20QM3R4HG5DAXBN3TN5",
"user_id": null
}
},
"result": {
"params": {
"domain": "light",
"service": "turn_on",
"service_data": {},
"target": {
"device_id": [
"226779fb30bd68c5a2784ccd762d90e9"
]
}
},
"running_script": false
}
}
],
"action/1": [
{
"path": "action/1",
"timestamp": "2024-10-25T12:20:32.416915+00:00",
"changed_variables": {
"wait": {
"remaining": null,
"trigger": {
"id": "0",
"idx": "0",
"alias": null,
"platform": "state",
"entity_id": "binary_sensor.presenza_alta_scala_taverna_occupancy",
"from_state": {
"entity_id": "binary_sensor.presenza_alta_scala_taverna_occupancy",
"state": "on",
"attributes": {
"device_class": "motion",
"friendly_name": "Presenza-Alta-Scala-Taverna Motion"
},
"last_changed": "2024-10-25T12:20:32.407032+00:00",
"last_reported": "2024-10-25T12:20:32.407032+00:00",
"last_updated": "2024-10-25T12:20:32.407032+00:00",
"context": {
"id": "01JB1SY20QM3R4HG5DAXBN3TN5",
"parent_id": null,
"user_id": null
}
},
"to_state": {
"entity_id": "binary_sensor.presenza_alta_scala_taverna_occupancy",
"state": "off",
"attributes": {
"device_class": "motion",
"friendly_name": "Presenza-Alta-Scala-Taverna Motion"
},
"last_changed": "2024-10-25T12:21:52.777256+00:00",
"last_reported": "2024-10-25T12:21:52.777256+00:00",
"last_updated": "2024-10-25T12:21:52.777256+00:00",
"context": {
"id": "01JB1T0GG9Z351YJ22ETPYHJZP",
"parent_id": null,
"user_id": null
}
},
"for": null,
"attribute": null,
"description": "state of binary_sensor.presenza_alta_scala_taverna_occupancy"
}
}
},
"result": {
"wait": {
"remaining": null,
"trigger": {
"id": "0",
"idx": "0",
"alias": null,
"platform": "state",
"entity_id": "binary_sensor.presenza_alta_scala_taverna_occupancy",
"from_state": {
"entity_id": "binary_sensor.presenza_alta_scala_taverna_occupancy",
"state": "on",
"attributes": {
"device_class": "motion",
"friendly_name": "Presenza-Alta-Scala-Taverna Motion"
},
"last_changed": "2024-10-25T12:20:32.407032+00:00",
"last_reported": "2024-10-25T12:20:32.407032+00:00",
"last_updated": "2024-10-25T12:20:32.407032+00:00",
"context": {
"id": "01JB1SY20QM3R4HG5DAXBN3TN5",
"parent_id": null,
"user_id": null
}
},
"to_state": {
"entity_id": "binary_sensor.presenza_alta_scala_taverna_occupancy",
"state": "off",
"attributes": {
"device_class": "motion",
"friendly_name": "Presenza-Alta-Scala-Taverna Motion"
},
"last_changed": "2024-10-25T12:21:52.777256+00:00",
"last_reported": "2024-10-25T12:21:52.777256+00:00",
"last_updated": "2024-10-25T12:21:52.777256+00:00",
"context": {
"id": "01JB1T0GG9Z351YJ22ETPYHJZP",
"parent_id": null,
"user_id": null
}
},
"for": null,
"attribute": null,
"description": "state of binary_sensor.presenza_alta_scala_taverna_occupancy"
}
}
}
}
],
"action/2": [
{
"path": "action/2",
"timestamp": "2024-10-25T12:21:52.778097+00:00",
"result": {
"delay": 20.0,
"done": true
}
}
],
"action/3": [
{
"path": "action/3",
"timestamp": "2024-10-25T12:22:12.780965+00:00",
"result": {
"params": {
"domain": "light",
"service": "turn_off",
"service_data": {},
"target": {
"device_id": [
"226779fb30bd68c5a2784ccd762d90e9"
]
}
},
"running_script": false
}
}
]
},
"config": {
"mode": "restart",
"max_exceeded": "silent",
"actions": [
{
"alias": "Turn on the light",
"action": "light.turn_on",
"target": {
"device_id": "226779fb30bd68c5a2784ccd762d90e9"
}
},
{
"alias": "Wait until there is no motion from device",
"wait_for_trigger": {
"trigger": "state",
"entity_id": "binary_sensor.presenza_alta_scala_taverna_occupancy",
"from": "on",
"to": "off"
}
},
{
"alias": "Wait the number of seconds that has been set",
"delay": 20
},
{
"alias": "Turn off the light",
"action": "light.turn_off",
"target": {
"device_id": "226779fb30bd68c5a2784ccd762d90e9"
}
}
],
"triggers": {
"trigger": "state",
"entity_id": "binary_sensor.presenza_alta_scala_taverna_occupancy",
"from": "off",
"to": "on"
},
"id": "1709401667410",
"alias": "Luce Scala Taverna (sensore alto)",
"description": "Attiva Luce Scala Taverna su presenza"
},
"blueprint_inputs": {
"id": "1709401667410",
"alias": "Luce Scala Taverna (sensore alto)",
"description": "Attiva Luce Scala Taverna su presenza",
"use_blueprint": {
"path": "homeassistant/motion_light.yaml",
"input": {
"motion_entity": "binary_sensor.presenza_alta_scala_taverna_occupancy",
"light_target": {
"device_id": "226779fb30bd68c5a2784ccd762d90e9"
},
"no_motion_wait": 20
}
}
},
"context": {
"id": "01JB1SY20SVZG8F4G65QPVFC9A",
"parent_id": "01JB1SY20QM3R4HG5DAXBN3TN5",
"user_id": null
}
},
"short_dict": {
"last_step": "action/3",
"run_id": "ed5d448cf3935c1e2c22a7796950e268",
"state": "stopped",
"script_execution": "finished",
"timestamp": {
"start": "2024-10-25T12:20:32.409509+00:00",
"finish": "2024-10-25T12:22:12.787889+00:00"
},
"domain": "automation",
"item_id": "1709401667410",
"trigger": "state of binary_sensor.presenza_alta_scala_taverna_occupancy"
}
},
{
"extended_dict": {
"last_step": "action/2",
"run_id": "69179fc86fa0fbebb62760a7234be955",
"state": "stopped",
"script_execution": "cancelled",
"timestamp": {
"start": "2024-10-25T12:23:55.399832+00:00",
"finish": "2024-10-25T12:25:18.834651+00:00"
},
"domain": "automation",
"item_id": "1709401667410",
"trigger": "state of binary_sensor.presenza_alta_scala_taverna_occupancy",
"trace": {
"trigger/0": [
{
"path": "trigger/0",
"timestamp": "2024-10-25T12:23:55.400246+00:00",
"changed_variables": {
"this": {
"entity_id": "automation.scala_taverna",
"state": "on",
"attributes": {
"id": "1709401667410",
"last_triggered": "2024-10-25T12:20:32.410152+00:00",
"mode": "restart",
"current": 0,
"friendly_name": "Luce Scala Taverna (sensore alto)"
},
"last_changed": "2024-10-23T23:34:55.058618+00:00",
"last_reported": "2024-10-25T12:22:12.786989+00:00",
"last_updated": "2024-10-25T12:22:12.786989+00:00",
"context": {
"id": "01JB1T141JFF6D1BTF1SNKVZFS",
"parent_id": null,
"user_id": null
}
},
"trigger": {
"id": "0",
"idx": "0",
"alias": null,
"platform": "state",
"entity_id": "binary_sensor.presenza_alta_scala_taverna_occupancy",
"from_state": {
"entity_id": "binary_sensor.presenza_alta_scala_taverna_occupancy",
"state": "off",
"attributes": {
"device_class": "motion",
"friendly_name": "Presenza-Alta-Scala-Taverna Motion"
},
"last_changed": "2024-10-25T12:21:52.777256+00:00",
"last_reported": "2024-10-25T12:21:52.777256+00:00",
"last_updated": "2024-10-25T12:21:52.777256+00:00",
"context": {
"id": "01JB1T0GG9Z351YJ22ETPYHJZP",
"parent_id": null,
"user_id": null
}
},
"to_state": {
"entity_id": "binary_sensor.presenza_alta_scala_taverna_occupancy",
"state": "on",
"attributes": {
"device_class": "motion",
"friendly_name": "Presenza-Alta-Scala-Taverna Motion"
},
"last_changed": "2024-10-25T12:23:55.399095+00:00",
"last_reported": "2024-10-25T12:23:55.399095+00:00",
"last_updated": "2024-10-25T12:23:55.399095+00:00",
"context": {
"id": "01JB1T4887QSX0P0GG72ZCM4PS",
"parent_id": null,
"user_id": null
}
},
"for": null,
"attribute": null,
"description": "state of binary_sensor.presenza_alta_scala_taverna_occupancy"
}
}
}
],
"action/0": [
{
"path": "action/0",
"timestamp": "2024-10-25T12:23:55.400974+00:00",
"changed_variables": {
"context": {
"id": "01JB1T4887BBJ6Q71N6DENTHN5",
"parent_id": "01JB1T4887QSX0P0GG72ZCM4PS",
"user_id": null
}
},
"result": {
"params": {
"domain": "light",
"service": "turn_on",
"service_data": {},
"target": {
"device_id": [
"226779fb30bd68c5a2784ccd762d90e9"
]
}
},
"running_script": false
}
}
],
"action/1": [
{
"path": "action/1",
"timestamp": "2024-10-25T12:23:55.406763+00:00",
"changed_variables": {
"wait": {
"remaining": null,
"trigger": {
"id": "0",
"idx": "0",
"alias": null,
"platform": "state",
"entity_id": "binary_sensor.presenza_alta_scala_taverna_occupancy",
"from_state": {
"entity_id": "binary_sensor.presenza_alta_scala_taverna_occupancy",
"state": "on",
"attributes": {
"device_class": "motion",
"friendly_name": "Presenza-Alta-Scala-Taverna Motion"
},
"last_changed": "2024-10-25T12:23:55.399095+00:00",
"last_reported": "2024-10-25T12:23:55.399095+00:00",
"last_updated": "2024-10-25T12:23:55.399095+00:00",
"context": {
"id": "01JB1T4887QSX0P0GG72ZCM4PS",
"parent_id": null,
"user_id": null
}
},
"to_state": {
"entity_id": "binary_sensor.presenza_alta_scala_taverna_occupancy",
"state": "off",
"attributes": {
"device_class": "motion",
"friendly_name": "Presenza-Alta-Scala-Taverna Motion"
},
"last_changed": "2024-10-25T12:25:03.898033+00:00",
"last_reported": "2024-10-25T12:25:03.898033+00:00",
"last_updated": "2024-10-25T12:25:03.898033+00:00",
"context": {
"id": "01JB1T6B4T7QVW8WE2AFPQ61YC",
"parent_id": null,
"user_id": null
}
},
"for": null,
"attribute": null,
"description": "state of binary_sensor.presenza_alta_scala_taverna_occupancy"
}
}
},
"result": {
"wait": {
"remaining": null,
"trigger": {
"id": "0",
"idx": "0",
"alias": null,
"platform": "state",
"entity_id": "binary_sensor.presenza_alta_scala_taverna_occupancy",
"from_state": {
"entity_id": "binary_sensor.presenza_alta_scala_taverna_occupancy",
"state": "on",
"attributes": {
"device_class": "motion",
"friendly_name": "Presenza-Alta-Scala-Taverna Motion"
},
"last_changed": "2024-10-25T12:23:55.399095+00:00",
"last_reported": "2024-10-25T12:23:55.399095+00:00",
"last_updated": "2024-10-25T12:23:55.399095+00:00",
"context": {
"id": "01JB1T4887QSX0P0GG72ZCM4PS",
"parent_id": null,
"user_id": null
}
},
"to_state": {
"entity_id": "binary_sensor.presenza_alta_scala_taverna_occupancy",
"state": "off",
"attributes": {
"device_class": "motion",
"friendly_name": "Presenza-Alta-Scala-Taverna Motion"
},
"last_changed": "2024-10-25T12:25:03.898033+00:00",
"last_reported": "2024-10-25T12:25:03.898033+00:00",
"last_updated": "2024-10-25T12:25:03.898033+00:00",
"context": {
"id": "01JB1T6B4T7QVW8WE2AFPQ61YC",
"parent_id": null,
"user_id": null
}
},
"for": null,
"attribute": null,
"description": "state of binary_sensor.presenza_alta_scala_taverna_occupancy"
}
}
}
}
],
"action/2": [
{
"path": "action/2",
"timestamp": "2024-10-25T12:25:03.901717+00:00",
"result": {
"delay": 20.0,
"done": false
}
}
]
},
"config": {
"mode": "restart",
"max_exceeded": "silent",
"actions": [
{
"alias": "Turn on the light",
"action": "light.turn_on",
"target": {
"device_id": "226779fb30bd68c5a2784ccd762d90e9"
}
},
{
"alias": "Wait until there is no motion from device",
"wait_for_trigger": {
"trigger": "state",
"entity_id": "binary_sensor.presenza_alta_scala_taverna_occupancy",
"from": "on",
"to": "off"
}
},
{
"alias": "Wait the number of seconds that has been set",
"delay": 20
},
{
"alias": "Turn off the light",
"action": "light.turn_off",
"target": {
"device_id": "226779fb30bd68c5a2784ccd762d90e9"
}
}
],
"triggers": {
"trigger": "state",
"entity_id": "binary_sensor.presenza_alta_scala_taverna_occupancy",
"from": "off",
"to": "on"
},
"id": "1709401667410",
"alias": "Luce Scala Taverna (sensore alto)",
"description": "Attiva Luce Scala Taverna su presenza"
},
"blueprint_inputs": {
"id": "1709401667410",
"alias": "Luce Scala Taverna (sensore alto)",
"description": "Attiva Luce Scala Taverna su presenza",
"use_blueprint": {
"path": "homeassistant/motion_light.yaml",
"input": {
"motion_entity": "binary_sensor.presenza_alta_scala_taverna_occupancy",
"light_target": {
"device_id": "226779fb30bd68c5a2784ccd762d90e9"
},
"no_motion_wait": 20
}
}
},
"context": {
"id": "01JB1T4887BBJ6Q71N6DENTHN5",
"parent_id": "01JB1T4887QSX0P0GG72ZCM4PS",
"user_id": null
}
},
"short_dict": {
"last_step": "action/2",
"run_id": "69179fc86fa0fbebb62760a7234be955",
"state": "stopped",
"script_execution": "cancelled",
"timestamp": {
"start": "2024-10-25T12:23:55.399832+00:00",
"finish": "2024-10-25T12:25:18.834651+00:00"
},
"domain": "automation",
"item_id": "1709401667410",
"trigger": "state of binary_sensor.presenza_alta_scala_taverna_occupancy"
}
},
{
"extended_dict": {
"last_step": "action/3",
"run_id": "297a88f9a01f0a4bae39a67dd3261a0a",
"state": "stopped",
"script_execution": "finished",
"timestamp": {
"start": "2024-10-25T12:25:18.830836+00:00",
"finish": "2024-10-25T12:27:42.327024+00:00"
},
"domain": "automation",
"item_id": "1709401667410",
"trigger": "state of binary_sensor.presenza_alta_scala_taverna_occupancy",
"trace": {
"trigger/0": [
{
"path": "trigger/0",
"timestamp": "2024-10-25T12:25:18.831020+00:00",
"changed_variables": {
"this": {
"entity_id": "automation.scala_taverna",
"state": "on",
"attributes": {
"id": "1709401667410",
"last_triggered": "2024-10-25T12:23:55.400490+00:00",
"mode": "restart",
"current": 1,
"friendly_name": "Luce Scala Taverna (sensore alto)"
},
"last_changed": "2024-10-23T23:34:55.058618+00:00",
"last_reported": "2024-10-25T12:23:55.407701+00:00",
"last_updated": "2024-10-25T12:23:55.400640+00:00",
"context": {
"id": "01JB1T4887BBJ6Q71N6DENTHN5",
"parent_id": "01JB1T4887QSX0P0GG72ZCM4PS",
"user_id": null
}
},
"trigger": {
"id": "0",
"idx": "0",
"alias": null,
"platform": "state",
"entity_id": "binary_sensor.presenza_alta_scala_taverna_occupancy",
"from_state": {
"entity_id": "binary_sensor.presenza_alta_scala_taverna_occupancy",
"state": "off",
"attributes": {
"device_class": "motion",
"friendly_name": "Presenza-Alta-Scala-Taverna Motion"
},
"last_changed": "2024-10-25T12:25:03.898033+00:00",
"last_reported": "2024-10-25T12:25:03.898033+00:00",
"last_updated": "2024-10-25T12:25:03.898033+00:00",
"context": {
"id": "01JB1T6B4T7QVW8WE2AFPQ61YC",
"parent_id": null,
"user_id": null
}
},
"to_state": {
"entity_id": "binary_sensor.presenza_alta_scala_taverna_occupancy",
"state": "on",
"attributes": {
"device_class": "motion",
"friendly_name": "Presenza-Alta-Scala-Taverna Motion"
},
"last_changed": "2024-10-25T12:25:18.829322+00:00",
"last_reported": "2024-10-25T12:25:18.829322+00:00",
"last_updated": "2024-10-25T12:25:18.829322+00:00",
"context": {
"id": "01JB1T6SQD9AHC3MZXR11FNDRM",
"parent_id": null,
"user_id": null
}
},
"for": null,
"attribute": null,
"description": "state of binary_sensor.presenza_alta_scala_taverna_occupancy"
}
}
}
],
"action/0": [
{
"path": "action/0",
"timestamp": "2024-10-25T12:25:18.835869+00:00",
"changed_variables": {
"context": {
"id": "01JB1T6SQE1339WR9V02YVM4Y8",
"parent_id": "01JB1T6SQD9AHC3MZXR11FNDRM",
"user_id": null
}
},
"result": {
"params": {
"domain": "light",
"service": "turn_on",
"service_data": {},
"target": {
"device_id": [
"226779fb30bd68c5a2784ccd762d90e9"
]
}
},
"running_script": false
}
}
],
"action/1": [
{
"path": "action/1",
"timestamp": "2024-10-25T12:25:18.843394+00:00",
"changed_variables": {
"wait": {
"remaining": null,
"trigger": {
"id": "0",
"idx": "0",
"alias": null,
"platform": "state",
"entity_id": "binary_sensor.presenza_alta_scala_taverna_occupancy",
"from_state": {
"entity_id": "binary_sensor.presenza_alta_scala_taverna_occupancy",
"state": "on",
"attributes": {
"device_class": "motion",
"friendly_name": "Presenza-Alta-Scala-Taverna Motion"
},
"last_changed": "2024-10-25T12:25:18.829322+00:00",
"last_reported": "2024-10-25T12:25:18.829322+00:00",
"last_updated": "2024-10-25T12:25:18.829322+00:00",
"context": {
"id": "01JB1T6SQD9AHC3MZXR11FNDRM",
"parent_id": null,
"user_id": null
}
},
"to_state": {
"entity_id": "binary_sensor.presenza_alta_scala_taverna_occupancy",
"state": "off",
"attributes": {
"device_class": "motion",
"friendly_name": "Presenza-Alta-Scala-Taverna Motion"
},
"last_changed": "2024-10-25T12:27:22.313074+00:00",
"last_reported": "2024-10-25T12:27:22.313074+00:00",
"last_updated": "2024-10-25T12:27:22.313074+00:00",
"context": {
"id": "01JB1TAJA9584ZJ8Q6CQX9BPSN",
"parent_id": null,
"user_id": null
}
},
"for": null,
"attribute": null,
"description": "state of binary_sensor.presenza_alta_scala_taverna_occupancy"
}
}
},
"result": {
"wait": {
"remaining": null,
"trigger": {
"id": "0",
"idx": "0",
"alias": null,
"platform": "state",
"entity_id": "binary_sensor.presenza_alta_scala_taverna_occupancy",
"from_state": {
"entity_id": "binary_sensor.presenza_alta_scala_taverna_occupancy",
"state": "on",
"attributes": {
"device_class": "motion",
"friendly_name": "Presenza-Alta-Scala-Taverna Motion"
},
"last_changed": "2024-10-25T12:25:18.829322+00:00",
"last_reported": "2024-10-25T12:25:18.829322+00:00",
"last_updated": "2024-10-25T12:25:18.829322+00:00",
"context": {
"id": "01JB1T6SQD9AHC3MZXR11FNDRM",
"parent_id": null,
"user_id": null
}
},
"to_state": {
"entity_id": "binary_sensor.presenza_alta_scala_taverna_occupancy",
"state": "off",
"attributes": {
"device_class": "motion",
"friendly_name": "Presenza-Alta-Scala-Taverna Motion"
},
"last_changed": "2024-10-25T12:27:22.313074+00:00",
"last_reported": "2024-10-25T12:27:22.313074+00:00",
"last_updated": "2024-10-25T12:27:22.313074+00:00",
"context": {
"id": "01JB1TAJA9584ZJ8Q6CQX9BPSN",
"parent_id": null,
"user_id": null
}
},
"for": null,
"attribute": null,
"description": "state of binary_sensor.presenza_alta_scala_taverna_occupancy"
}
}
}
}
],
"action/2": [
{
"path": "action/2",
"timestamp": "2024-10-25T12:27:22.315948+00:00",
"result": {
"delay": 20.0,
"done": true
}
}
],
"action/3": [
{
"path": "action/3",
"timestamp": "2024-10-25T12:27:42.318481+00:00",
"result": {
"params": {
"domain": "light",
"service": "turn_off",
"service_data": {},
"target": {
"device_id": [
"226779fb30bd68c5a2784ccd762d90e9"
]
}
},
"running_script": false
}
}
]
},
"config": {
"mode": "restart",
"max_exceeded": "silent",
"actions": [
{
"alias": "Turn on the light",
"action": "light.turn_on",
"target": {
"device_id": "226779fb30bd68c5a2784ccd762d90e9"
}
},
{
"alias": "Wait until there is no motion from device",
"wait_for_trigger": {
"trigger": "state",
"entity_id": "binary_sensor.presenza_alta_scala_taverna_occupancy",
"from": "on",
"to": "off"
}
},
{
"alias": "Wait the number of seconds that has been set",
"delay": 20
},
{
"alias": "Turn off the light",
"action": "light.turn_off",
"target": {
"device_id": "226779fb30bd68c5a2784ccd762d90e9"
}
}
],
"triggers": {
"trigger": "state",
"entity_id": "binary_sensor.presenza_alta_scala_taverna_occupancy",
"from": "off",
"to": "on"
},
"id": "1709401667410",
"alias": "Luce Scala Taverna (sensore alto)",
"description": "Attiva Luce Scala Taverna su presenza"
},
"blueprint_inputs": {
"id": "1709401667410",
"alias": "Luce Scala Taverna (sensore alto)",
"description": "Attiva Luce Scala Taverna su presenza",
"use_blueprint": {
"path": "homeassistant/motion_light.yaml",
"input": {
"motion_entity": "binary_sensor.presenza_alta_scala_taverna_occupancy",
"light_target": {
"device_id": "226779fb30bd68c5a2784ccd762d90e9"
},
"no_motion_wait": 20
}
}
},
"context": {
"id": "01JB1T6SQE1339WR9V02YVM4Y8",
"parent_id": "01JB1T6SQD9AHC3MZXR11FNDRM",
"user_id": null
}
},
"short_dict": {
"last_step": "action/3",
"run_id": "297a88f9a01f0a4bae39a67dd3261a0a",
"state": "stopped",
"script_execution": "finished",
"timestamp": {
"start": "2024-10-25T12:25:18.830836+00:00",
"finish": "2024-10-25T12:27:42.327024+00:00"
},
"domain": "automation",
"item_id": "1709401667410",
"trigger": "state of binary_sensor.presenza_alta_scala_taverna_occupancy"
}
},
{
"extended_dict": {
"last_step": "action/3",
"run_id": "adc12fa9b44c9dec449d8de693384036",
"state": "stopped",
"script_execution": "finished",
"timestamp": {
"start": "2024-10-25T12:28:37.771194+00:00",
"finish": "2024-10-25T12:30:44.277217+00:00"
},
"domain": "automation",
"item_id": "1709401667410",
"trigger": "state of binary_sensor.presenza_alta_scala_taverna_occupancy",
"trace": {
"trigger/0": [
{
"path": "trigger/0",
"timestamp": "2024-10-25T12:28:37.771418+00:00",
"changed_variables": {
"this": {
"entity_id": "automation.scala_taverna",
"state": "on",
"attributes": {
"id": "1709401667410",
"last_triggered": "2024-10-25T12:25:18.835310+00:00",
"mode": "restart",
"current": 0,
"friendly_name": "Luce Scala Taverna (sensore alto)"
},
"last_changed": "2024-10-23T23:34:55.058618+00:00",
"last_reported": "2024-10-25T12:27:42.324959+00:00",
"last_updated": "2024-10-25T12:27:42.324959+00:00",
"context": {
"id": "01JB1TB5VM1P3SPJ97JEWB0J8F",
"parent_id": null,
"user_id": null
}
},
"trigger": {
"id": "0",
"idx": "0",
"alias": null,
"platform": "state",
"entity_id": "binary_sensor.presenza_alta_scala_taverna_occupancy",
"from_state": {
"entity_id": "binary_sensor.presenza_alta_scala_taverna_occupancy",
"state": "off",
"attributes": {
"device_class": "motion",
"friendly_name": "Presenza-Alta-Scala-Taverna Motion"
},
"last_changed": "2024-10-25T12:27:22.313074+00:00",
"last_reported": "2024-10-25T12:27:22.313074+00:00",
"last_updated": "2024-10-25T12:27:22.313074+00:00",
"context": {
"id": "01JB1TAJA9584ZJ8Q6CQX9BPSN",
"parent_id": null,
"user_id": null
}
},
"to_state": {
"entity_id": "binary_sensor.presenza_alta_scala_taverna_occupancy",
"state": "on",
"attributes": {
"device_class": "motion",
"friendly_name": "Presenza-Alta-Scala-Taverna Motion"
},
"last_changed": "2024-10-25T12:28:37.770647+00:00",
"last_reported": "2024-10-25T12:28:37.770647+00:00",
"last_updated": "2024-10-25T12:28:37.770647+00:00",
"context": {
"id": "01JB1TCW0AMF7EQE8BWFSQ1HMR",
"parent_id": null,
"user_id": null
}
},
"for": null,
"attribute": null,
"description": "state of binary_sensor.presenza_alta_scala_taverna_occupancy"
}
}
}
],
"action/0": [
{
"path": "action/0",
"timestamp": "2024-10-25T12:28:37.771863+00:00",
"changed_variables": {
"context": {
"id": "01JB1TCW0B1N00X7MV5JEJ3ZJ2",
"parent_id": "01JB1TCW0AMF7EQE8BWFSQ1HMR",
"user_id": null
}
},
"result": {
"params": {
"domain": "light",
"service": "turn_on",
"service_data": {},
"target": {
"device_id": [
"226779fb30bd68c5a2784ccd762d90e9"
]
}
},
"running_script": false
}
}
],
"action/1": [
{
"path": "action/1",
"timestamp": "2024-10-25T12:28:37.777865+00:00",
"changed_variables": {
"wait": {
"remaining": null,
"trigger": {
"id": "0",
"idx": "0",
"alias": null,
"platform": "state",
"entity_id": "binary_sensor.presenza_alta_scala_taverna_occupancy",
"from_state": {
"entity_id": "binary_sensor.presenza_alta_scala_taverna_occupancy",
"state": "on",
"attributes": {
"device_class": "motion",
"friendly_name": "Presenza-Alta-Scala-Taverna Motion"
},
"last_changed": "2024-10-25T12:28:37.770647+00:00",
"last_reported": "2024-10-25T12:28:37.770647+00:00",
"last_updated": "2024-10-25T12:28:37.770647+00:00",
"context": {
"id": "01JB1TCW0AMF7EQE8BWFSQ1HMR",
"parent_id": null,
"user_id": null
}
},
"to_state": {
"entity_id": "binary_sensor.presenza_alta_scala_taverna_occupancy",
"state": "off",
"attributes": {
"device_class": "motion",
"friendly_name": "Presenza-Alta-Scala-Taverna Motion"
},
"last_changed": "2024-10-25T12:30:24.265812+00:00",
"last_reported": "2024-10-25T12:30:24.265812+00:00",
"last_updated": "2024-10-25T12:30:24.265812+00:00",
"context": {
"id": "01JB1TG409NT68E8DYM6D69EAW",
"parent_id": null,
"user_id": null
}
},
"for": null,
"attribute": null,
"description": "state of binary_sensor.presenza_alta_scala_taverna_occupancy"
}
}
},
"result": {
"wait": {
"remaining": null,
"trigger": {
"id": "0",
"idx": "0",
"alias": null,
"platform": "state",
"entity_id": "binary_sensor.presenza_alta_scala_taverna_occupancy",
"from_state": {
"entity_id": "binary_sensor.presenza_alta_scala_taverna_occupancy",
"state": "on",
"attributes": {
"device_class": "motion",
"friendly_name": "Presenza-Alta-Scala-Taverna Motion"
},
"last_changed": "2024-10-25T12:28:37.770647+00:00",
"last_reported": "2024-10-25T12:28:37.770647+00:00",
"last_updated": "2024-10-25T12:28:37.770647+00:00",
"context": {
"id": "01JB1TCW0AMF7EQE8BWFSQ1HMR",
"parent_id": null,
"user_id": null
}
},
"to_state": {
"entity_id": "binary_sensor.presenza_alta_scala_taverna_occupancy",
"state": "off",
"attributes": {
"device_class": "motion",
"friendly_name": "Presenza-Alta-Scala-Taverna Motion"
},
"last_changed": "2024-10-25T12:30:24.265812+00:00",
"last_reported": "2024-10-25T12:30:24.265812+00:00",
"last_updated": "2024-10-25T12:30:24.265812+00:00",
"context": {
"id": "01JB1TG409NT68E8DYM6D69EAW",
"parent_id": null,
"user_id": null
}
},
"for": null,
"attribute": null,
"description": "state of binary_sensor.presenza_alta_scala_taverna_occupancy"
}
}
}
}
],
"action/2": [
{
"path": "action/2",
"timestamp": "2024-10-25T12:30:24.269150+00:00",
"result": {
"delay": 20.0,
"done": true
}
}
],
"action/3": [
{
"path": "action/3",
"timestamp": "2024-10-25T12:30:44.270866+00:00",
"result": {
"params": {
"domain": "light",
"service": "turn_off",
"service_data": {},
"target": {
"device_id": [
"226779fb30bd68c5a2784ccd762d90e9"
]
}
},
"running_script": false
}
}
]
},
"config": {
"mode": "restart",
"max_exceeded": "silent",
"actions": [
{
"alias": "Turn on the light",
"action": "light.turn_on",
"target": {
"device_id": "226779fb30bd68c5a2784ccd762d90e9"
}
},
{
"alias": "Wait until there is no motion from device",
"wait_for_trigger": {
"trigger": "state",
"entity_id": "binary_sensor.presenza_alta_scala_taverna_occupancy",
"from": "on",
"to": "off"
}
},
{
"alias": "Wait the number of seconds that has been set",
"delay": 20
},
{
"alias": "Turn off the light",
"action": "light.turn_off",
"target": {
"device_id": "226779fb30bd68c5a2784ccd762d90e9"
}
}
],
"triggers": {
"trigger": "state",
"entity_id": "binary_sensor.presenza_alta_scala_taverna_occupancy",
"from": "off",
"to": "on"
},
"id": "1709401667410",
"alias": "Luce Scala Taverna (sensore alto)",
"description": "Attiva Luce Scala Taverna su presenza"
},
"blueprint_inputs": {
"id": "1709401667410",
"alias": "Luce Scala Taverna (sensore alto)",
"description": "Attiva Luce Scala Taverna su presenza",
"use_blueprint": {
"path": "homeassistant/motion_light.yaml",
"input": {
"motion_entity": "binary_sensor.presenza_alta_scala_taverna_occupancy",
"light_target": {
"device_id": "226779fb30bd68c5a2784ccd762d90e9"
},
"no_motion_wait": 20
}
}
},
"context": {
"id": "01JB1TCW0B1N00X7MV5JEJ3ZJ2",
"parent_id": "01JB1TCW0AMF7EQE8BWFSQ1HMR",
"user_id": null
}
},
"short_dict": {
"last_step": "action/3",
"run_id": "adc12fa9b44c9dec449d8de693384036",
"state": "stopped",
"script_execution": "finished",
"timestamp": {
"start": "2024-10-25T12:28:37.771194+00:00",
"finish": "2024-10-25T12:30:44.277217+00:00"
},
"domain": "automation",
"item_id": "1709401667410",
"trigger": "state of binary_sensor.presenza_alta_scala_taverna_occupancy"
}
}
],
"automation.1728486287191": [
{
"extended_dict": {
"last_step": "action/3",
"run_id": "ea18ed9cd2fc0f6799038cc40ceaef81",
"state": "stopped",
"script_execution": "finished",
"timestamp": {
"start": "2024-10-25T12:20:53.506983+00:00",
"finish": "2024-10-25T12:22:13.512845+00:00"
},
"domain": "automation",
"item_id": "1728486287191",
"trigger": "state of binary_sensor.presenza_bassa_scala_taverna_occupancy",
"trace": {
"trigger/0": [
{
"path": "trigger/0",
"timestamp": "2024-10-25T12:20:53.507210+00:00",
"changed_variables": {
"this": {
"entity_id": "automation.luca_scala_taverna_sensore_basso",
"state": "on",
"attributes": {
"id": "1728486287191",
"last_triggered": "2024-10-25T11:41:24.107925+00:00",
"mode": "restart",
"current": 0,
"friendly_name": "Luce Scala Taverna (sensore basso)"
},
"last_changed": "2024-10-23T23:34:55.059789+00:00",
"last_reported": "2024-10-25T11:42:44.107944+00:00",
"last_updated": "2024-10-25T11:42:44.107944+00:00",
"context": {
"id": "01JB1QRTWBM634QS2AGA9TZQKM",
"parent_id": null,
"user_id": null
}
},
"trigger": {
"id": "0",
"idx": "0",
"alias": null,
"platform": "state",
"entity_id": "binary_sensor.presenza_bassa_scala_taverna_occupancy",
"from_state": {
"entity_id": "binary_sensor.presenza_bassa_scala_taverna_occupancy",
"state": "off",
"attributes": {
"device_class": "motion",
"friendly_name": "Presenza-Bassa-Scala-Taverna Motion"
},
"last_changed": "2024-10-25T11:42:24.099239+00:00",
"last_reported": "2024-10-25T11:42:24.099239+00:00",
"last_updated": "2024-10-25T11:42:24.099239+00:00",
"context": {
"id": "01JB1QR7B3SH7VRM09HA1X4MMY",
"parent_id": null,
"user_id": null
}
},
"to_state": {
"entity_id": "binary_sensor.presenza_bassa_scala_taverna_occupancy",
"state": "on",
"attributes": {
"device_class": "motion",
"friendly_name": "Presenza-Bassa-Scala-Taverna Motion"
},
"last_changed": "2024-10-25T12:20:53.506461+00:00",
"last_reported": "2024-10-25T12:20:53.506461+00:00",
"last_updated": "2024-10-25T12:20:53.506461+00:00",
"context": {
"id": "01JB1SYPM2T687Y1JRRY6XM7EK",
"parent_id": null,
"user_id": null
}
},
"for": null,
"attribute": null,
"description": "state of binary_sensor.presenza_bassa_scala_taverna_occupancy"
}
}
}
],
"action/0": [
{
"path": "action/0",
"timestamp": "2024-10-25T12:20:53.507563+00:00",
"changed_variables": {
"context": {
"id": "01JB1SYPM22K7EG2CBV9C6RBK7",
"parent_id": "01JB1SYPM2T687Y1JRRY6XM7EK",
"user_id": null
}
},
"result": {
"params": {
"domain": "light",
"service": "turn_on",
"service_data": {},
"target": {
"device_id": [
"226779fb30bd68c5a2784ccd762d90e9"
]
}
},
"running_script": false
}
}
],
"action/1": [
{
"path": "action/1",
"timestamp": "2024-10-25T12:20:53.513577+00:00",
"changed_variables": {
"wait": {
"remaining": null,
"trigger": {
"id": "0",
"idx": "0",
"alias": null,
"platform": "state",
"entity_id": "binary_sensor.presenza_bassa_scala_taverna_occupancy",
"from_state": {
"entity_id": "binary_sensor.presenza_bassa_scala_taverna_occupancy",
"state": "on",
"attributes": {
"device_class": "motion",
"friendly_name": "Presenza-Bassa-Scala-Taverna Motion"
},
"last_changed": "2024-10-25T12:20:53.506461+00:00",
"last_reported": "2024-10-25T12:20:53.506461+00:00",
"last_updated": "2024-10-25T12:20:53.506461+00:00",
"context": {
"id": "01JB1SYPM2T687Y1JRRY6XM7EK",
"parent_id": null,
"user_id": null
}
},
"to_state": {
"entity_id": "binary_sensor.presenza_bassa_scala_taverna_occupancy",
"state": "off",
"attributes": {
"device_class": "motion",
"friendly_name": "Presenza-Bassa-Scala-Taverna Motion"
},
"last_changed": "2024-10-25T12:21:53.502722+00:00",
"last_reported": "2024-10-25T12:21:53.502722+00:00",
"last_updated": "2024-10-25T12:21:53.502722+00:00",
"context": {
"id": "01JB1T0H6YXVDMQBCBMP8S5HZN",
"parent_id": null,
"user_id": null
}
},
"for": null,
"attribute": null,
"description": "state of binary_sensor.presenza_bassa_scala_taverna_occupancy"
}
}
},
"result": {
"wait": {
"remaining": null,
"trigger": {
"id": "0",
"idx": "0",
"alias": null,
"platform": "state",
"entity_id": "binary_sensor.presenza_bassa_scala_taverna_occupancy",
"from_state": {
"entity_id": "binary_sensor.presenza_bassa_scala_taverna_occupancy",
"state": "on",
"attributes": {
"device_class": "motion",
"friendly_name": "Presenza-Bassa-Scala-Taverna Motion"
},
"last_changed": "2024-10-25T12:20:53.506461+00:00",
"last_reported": "2024-10-25T12:20:53.506461+00:00",
"last_updated": "2024-10-25T12:20:53.506461+00:00",
"context": {
"id": "01JB1SYPM2T687Y1JRRY6XM7EK",
"parent_id": null,
"user_id": null
}
},
"to_state": {
"entity_id": "binary_sensor.presenza_bassa_scala_taverna_occupancy",
"state": "off",
"attributes": {
"device_class": "motion",
"friendly_name": "Presenza-Bassa-Scala-Taverna Motion"
},
"last_changed": "2024-10-25T12:21:53.502722+00:00",
"last_reported": "2024-10-25T12:21:53.502722+00:00",
"last_updated": "2024-10-25T12:21:53.502722+00:00",
"context": {
"id": "01JB1T0H6YXVDMQBCBMP8S5HZN",
"parent_id": null,
"user_id": null
}
},
"for": null,
"attribute": null,
"description": "state of binary_sensor.presenza_bassa_scala_taverna_occupancy"
}
}
}
}
],
"action/2": [
{
"path": "action/2",
"timestamp": "2024-10-25T12:21:53.505391+00:00",
"result": {
"delay": 20.0,
"done": true
}
}
],
"action/3": [
{
"path": "action/3",
"timestamp": "2024-10-25T12:22:13.507894+00:00",
"result": {
"params": {
"domain": "light",
"service": "turn_off",
"service_data": {},
"target": {
"device_id": [
"226779fb30bd68c5a2784ccd762d90e9"
]
}
},
"running_script": false
}
}
]
},
"config": {
"mode": "restart",
"max_exceeded": "silent",
"actions": [
{
"alias": "Turn on the light",
"action": "light.turn_on",
"target": {
"device_id": "226779fb30bd68c5a2784ccd762d90e9"
}
},
{
"alias": "Wait until there is no motion from device",
"wait_for_trigger": {
"trigger": "state",
"entity_id": "binary_sensor.presenza_bassa_scala_taverna_occupancy",
"from": "on",
"to": "off"
}
},
{
"alias": "Wait the number of seconds that has been set",
"delay": 20
},
{
"alias": "Turn off the light",
"action": "light.turn_off",
"target": {
"device_id": "226779fb30bd68c5a2784ccd762d90e9"
}
}
],
"triggers": {
"trigger": "state",
"entity_id": "binary_sensor.presenza_bassa_scala_taverna_occupancy",
"from": "off",
"to": "on"
},
"id": "1728486287191",
"alias": "Luce Scala Taverna (sensore basso)",
"description": "Attiva Luce Scala Taverna su presenza"
},
"blueprint_inputs": {
"id": "1728486287191",
"alias": "Luce Scala Taverna (sensore basso)",
"description": "Attiva Luce Scala Taverna su presenza",
"use_blueprint": {
"path": "homeassistant/motion_light.yaml",
"input": {
"motion_entity": "binary_sensor.presenza_bassa_scala_taverna_occupancy",
"light_target": {
"device_id": "226779fb30bd68c5a2784ccd762d90e9"
},
"no_motion_wait": 20
}
}
},
"context": {
"id": "01JB1SYPM22K7EG2CBV9C6RBK7",
"parent_id": "01JB1SYPM2T687Y1JRRY6XM7EK",
"user_id": null
}
},
"short_dict": {
"last_step": "action/3",
"run_id": "ea18ed9cd2fc0f6799038cc40ceaef81",
"state": "stopped",
"script_execution": "finished",
"timestamp": {
"start": "2024-10-25T12:20:53.506983+00:00",
"finish": "2024-10-25T12:22:13.512845+00:00"
},
"domain": "automation",
"item_id": "1728486287191",
"trigger": "state of binary_sensor.presenza_bassa_scala_taverna_occupancy"
}
},
{
"extended_dict": {
"last_step": "action/3",
"run_id": "90be1c29b4bc4f37832131fb723561f0",
"state": "stopped",
"script_execution": "finished",
"timestamp": {
"start": "2024-10-25T12:22:17.484644+00:00",
"finish": "2024-10-25T12:23:37.446175+00:00"
},
"domain": "automation",
"item_id": "1728486287191",
"trigger": "state of binary_sensor.presenza_bassa_scala_taverna_occupancy",
"trace": {
"trigger/0": [
{
"path": "trigger/0",
"timestamp": "2024-10-25T12:22:17.485133+00:00",
"changed_variables": {
"this": {
"entity_id": "automation.luca_scala_taverna_sensore_basso",
"state": "on",
"attributes": {
"id": "1728486287191",
"last_triggered": "2024-10-25T12:20:53.507330+00:00",
"mode": "restart",
"current": 0,
"friendly_name": "Luce Scala Taverna (sensore basso)"
},
"last_changed": "2024-10-23T23:34:55.059789+00:00",
"last_reported": "2024-10-25T12:22:13.511408+00:00",
"last_updated": "2024-10-25T12:22:13.511408+00:00",
"context": {
"id": "01JB1T14R72Y781MHVEKMXGRV8",
"parent_id": null,
"user_id": null
}
},
"trigger": {
"id": "0",
"idx": "0",
"alias": null,
"platform": "state",
"entity_id": "binary_sensor.presenza_bassa_scala_taverna_occupancy",
"from_state": {
"entity_id": "binary_sensor.presenza_bassa_scala_taverna_occupancy",
"state": "off",
"attributes": {
"device_class": "motion",
"friendly_name": "Presenza-Bassa-Scala-Taverna Motion"
},
"last_changed": "2024-10-25T12:21:53.502722+00:00",
"last_reported": "2024-10-25T12:21:53.502722+00:00",
"last_updated": "2024-10-25T12:21:53.502722+00:00",
"context": {
"id": "01JB1T0H6YXVDMQBCBMP8S5HZN",
"parent_id": null,
"user_id": null
}
},
"to_state": {
"entity_id": "binary_sensor.presenza_bassa_scala_taverna_occupancy",
"state": "on",
"attributes": {
"device_class": "motion",
"friendly_name": "Presenza-Bassa-Scala-Taverna Motion"
},
"last_changed": "2024-10-25T12:22:17.482228+00:00",
"last_reported": "2024-10-25T12:22:17.482228+00:00",
"last_updated": "2024-10-25T12:22:17.482228+00:00",
"context": {
"id": "01JB1T18MA8HYFSAG70VEX4R72",
"parent_id": null,
"user_id": null
}
},
"for": null,
"attribute": null,
"description": "state of binary_sensor.presenza_bassa_scala_taverna_occupancy"
}
}
}
],
"action/0": [
{
"path": "action/0",
"timestamp": "2024-10-25T12:22:17.485757+00:00",
"changed_variables": {
"context": {
"id": "01JB1T18MCAG5MGCJCZMB53M2J",
"parent_id": "01JB1T18MA8HYFSAG70VEX4R72",
"user_id": null
}
},
"result": {
"params": {
"domain": "light",
"service": "turn_on",
"service_data": {},
"target": {
"device_id": [
"226779fb30bd68c5a2784ccd762d90e9"
]
}
},
"running_script": false
}
}
],
"action/1": [
{
"path": "action/1",
"timestamp": "2024-10-25T12:22:17.490706+00:00",
"changed_variables": {
"wait": {
"remaining": null,
"trigger": {
"id": "0",
"idx": "0",
"alias": null,
"platform": "state",
"entity_id": "binary_sensor.presenza_bassa_scala_taverna_occupancy",
"from_state": {
"entity_id": "binary_sensor.presenza_bassa_scala_taverna_occupancy",
"state": "on",
"attributes": {
"device_class": "motion",
"friendly_name": "Presenza-Bassa-Scala-Taverna Motion"
},
"last_changed": "2024-10-25T12:22:17.482228+00:00",
"last_reported": "2024-10-25T12:22:17.482228+00:00",
"last_updated": "2024-10-25T12:22:17.482228+00:00",
"context": {
"id": "01JB1T18MA8HYFSAG70VEX4R72",
"parent_id": null,
"user_id": null
}
},
"to_state": {
"entity_id": "binary_sensor.presenza_bassa_scala_taverna_occupancy",
"state": "off",
"attributes": {
"device_class": "motion",
"friendly_name": "Presenza-Bassa-Scala-Taverna Motion"
},
"last_changed": "2024-10-25T12:23:17.437398+00:00",
"last_reported": "2024-10-25T12:23:17.437398+00:00",
"last_updated": "2024-10-25T12:23:17.437398+00:00",
"context": {
"id": "01JB1T335XVE3Z1AMHT7Y5N3TZ",
"parent_id": null,
"user_id": null
}
},
"for": null,
"attribute": null,
"description": "state of binary_sensor.presenza_bassa_scala_taverna_occupancy"
}
}
},
"result": {
"wait": {
"remaining": null,
"trigger": {
"id": "0",
"idx": "0",
"alias": null,
"platform": "state",
"entity_id": "binary_sensor.presenza_bassa_scala_taverna_occupancy",
"from_state": {
"entity_id": "binary_sensor.presenza_bassa_scala_taverna_occupancy",
"state": "on",
"attributes": {
"device_class": "motion",
"friendly_name": "Presenza-Bassa-Scala-Taverna Motion"
},
"last_changed": "2024-10-25T12:22:17.482228+00:00",
"last_reported": "2024-10-25T12:22:17.482228+00:00",
"last_updated": "2024-10-25T12:22:17.482228+00:00",
"context": {
"id": "01JB1T18MA8HYFSAG70VEX4R72",
"parent_id": null,
"user_id": null
}
},
"to_state": {
"entity_id": "binary_sensor.presenza_bassa_scala_taverna_occupancy",
"state": "off",
"attributes": {
"device_class": "motion",
"friendly_name": "Presenza-Bassa-Scala-Taverna Motion"
},
"last_changed": "2024-10-25T12:23:17.437398+00:00",
"last_reported": "2024-10-25T12:23:17.437398+00:00",
"last_updated": "2024-10-25T12:23:17.437398+00:00",
"context": {
"id": "01JB1T335XVE3Z1AMHT7Y5N3TZ",
"parent_id": null,
"user_id": null
}
},
"for": null,
"attribute": null,
"description": "state of binary_sensor.presenza_bassa_scala_taverna_occupancy"
}
}
}
}
],
"action/2": [
{
"path": "action/2",
"timestamp": "2024-10-25T12:23:17.439429+00:00",
"result": {
"delay": 20.0,
"done": true
}
}
],
"action/3": [
{
"path": "action/3",
"timestamp": "2024-10-25T12:23:37.441894+00:00",
"result": {
"params": {
"domain": "light",
"service": "turn_off",
"service_data": {},
"target": {
"device_id": [
"226779fb30bd68c5a2784ccd762d90e9"
]
}
},
"running_script": false
}
}
]
},
"config": {
"mode": "restart",
"max_exceeded": "silent",
"actions": [
{
"alias": "Turn on the light",
"action": "light.turn_on",
"target": {
"device_id": "226779fb30bd68c5a2784ccd762d90e9"
}
},
{
"alias": "Wait until there is no motion from device",
"wait_for_trigger": {
"trigger": "state",
"entity_id": "binary_sensor.presenza_bassa_scala_taverna_occupancy",
"from": "on",
"to": "off"
}
},
{
"alias": "Wait the number of seconds that has been set",
"delay": 20
},
{
"alias": "Turn off the light",
"action": "light.turn_off",
"target": {
"device_id": "226779fb30bd68c5a2784ccd762d90e9"
}
}
],
"triggers": {
"trigger": "state",
"entity_id": "binary_sensor.presenza_bassa_scala_taverna_occupancy",
"from": "off",
"to": "on"
},
"id": "1728486287191",
"alias": "Luce Scala Taverna (sensore basso)",
"description": "Attiva Luce Scala Taverna su presenza"
},
"blueprint_inputs": {
"id": "1728486287191",
"alias": "Luce Scala Taverna (sensore basso)",
"description": "Attiva Luce Scala Taverna su presenza",
"use_blueprint": {
"path": "homeassistant/motion_light.yaml",
"input": {
"motion_entity": "binary_sensor.presenza_bassa_scala_taverna_occupancy",
"light_target": {
"device_id": "226779fb30bd68c5a2784ccd762d90e9"
},
"no_motion_wait": 20
}
}
},
"context": {
"id": "01JB1T18MCAG5MGCJCZMB53M2J",
"parent_id": "01JB1T18MA8HYFSAG70VEX4R72",
"user_id": null
}
},
"short_dict": {
"last_step": "action/3",
"run_id": "90be1c29b4bc4f37832131fb723561f0",
"state": "stopped",
"script_execution": "finished",
"timestamp": {
"start": "2024-10-25T12:22:17.484644+00:00",
"finish": "2024-10-25T12:23:37.446175+00:00"
},
"domain": "automation",
"item_id": "1728486287191",
"trigger": "state of binary_sensor.presenza_bassa_scala_taverna_occupancy"
}
},
{
"extended_dict": {
"last_step": "action/3",
"run_id": "4a79e47504e603c4b72a0c085dd83dc3",
"state": "stopped",
"script_execution": "finished",
"timestamp": {
"start": "2024-10-25T12:23:50.169179+00:00",
"finish": "2024-10-25T12:25:10.181737+00:00"
},
"domain": "automation",
"item_id": "1728486287191",
"trigger": "state of binary_sensor.presenza_bassa_scala_taverna_occupancy",
"trace": {
"trigger/0": [
{
"path": "trigger/0",
"timestamp": "2024-10-25T12:23:50.169478+00:00",
"changed_variables": {
"this": {
"entity_id": "automation.luca_scala_taverna_sensore_basso",
"state": "on",
"attributes": {
"id": "1728486287191",
"last_triggered": "2024-10-25T12:22:17.485430+00:00",
"mode": "restart",
"current": 0,
"friendly_name": "Luce Scala Taverna (sensore basso)"
},
"last_changed": "2024-10-23T23:34:55.059789+00:00",
"last_reported": "2024-10-25T12:23:37.445518+00:00",
"last_updated": "2024-10-25T12:23:37.445518+00:00",
"context": {
"id": "01JB1T3PQ5XSTVWFY5CTPBNFEB",
"parent_id": null,
"user_id": null
}
},
"trigger": {
"id": "0",
"idx": "0",
"alias": null,
"platform": "state",
"entity_id": "binary_sensor.presenza_bassa_scala_taverna_occupancy",
"from_state": {
"entity_id": "binary_sensor.presenza_bassa_scala_taverna_occupancy",
"state": "off",
"attributes": {
"device_class": "motion",
"friendly_name": "Presenza-Bassa-Scala-Taverna Motion"
},
"last_changed": "2024-10-25T12:23:17.437398+00:00",
"last_reported": "2024-10-25T12:23:17.437398+00:00",
"last_updated": "2024-10-25T12:23:17.437398+00:00",
"context": {
"id": "01JB1T335XVE3Z1AMHT7Y5N3TZ",
"parent_id": null,
"user_id": null
}
},
"to_state": {
"entity_id": "binary_sensor.presenza_bassa_scala_taverna_occupancy",
"state": "on",
"attributes": {
"device_class": "motion",
"friendly_name": "Presenza-Bassa-Scala-Taverna Motion"
},
"last_changed": "2024-10-25T12:23:50.168627+00:00",
"last_reported": "2024-10-25T12:23:50.168627+00:00",
"last_updated": "2024-10-25T12:23:50.168627+00:00",
"context": {
"id": "01JB1T434R6VNS49EBMBB82BH5",
"parent_id": null,
"user_id": null
}
},
"for": null,
"attribute": null,
"description": "state of binary_sensor.presenza_bassa_scala_taverna_occupancy"
}
}
}
],
"action/0": [
{
"path": "action/0",
"timestamp": "2024-10-25T12:23:50.169859+00:00",
"changed_variables": {
"context": {
"id": "01JB1T434STT8E4XS7BDJ9CQRW",
"parent_id": "01JB1T434R6VNS49EBMBB82BH5",
"user_id": null
}
},
"result": {
"params": {
"domain": "light",
"service": "turn_on",
"service_data": {},
"target": {
"device_id": [
"226779fb30bd68c5a2784ccd762d90e9"
]
}
},
"running_script": false
}
}
],
"action/1": [
{
"path": "action/1",
"timestamp": "2024-10-25T12:23:50.175370+00:00",
"changed_variables": {
"wait": {
"remaining": null,
"trigger": {
"id": "0",
"idx": "0",
"alias": null,
"platform": "state",
"entity_id": "binary_sensor.presenza_bassa_scala_taverna_occupancy",
"from_state": {
"entity_id": "binary_sensor.presenza_bassa_scala_taverna_occupancy",
"state": "on",
"attributes": {
"device_class": "motion",
"friendly_name": "Presenza-Bassa-Scala-Taverna Motion"
},
"last_changed": "2024-10-25T12:23:50.168627+00:00",
"last_reported": "2024-10-25T12:23:50.168627+00:00",
"last_updated": "2024-10-25T12:23:50.168627+00:00",
"context": {
"id": "01JB1T434R6VNS49EBMBB82BH5",
"parent_id": null,
"user_id": null
}
},
"to_state": {
"entity_id": "binary_sensor.presenza_bassa_scala_taverna_occupancy",
"state": "off",
"attributes": {
"device_class": "motion",
"friendly_name": "Presenza-Bassa-Scala-Taverna Motion"
},
"last_changed": "2024-10-25T12:24:50.167183+00:00",
"last_reported": "2024-10-25T12:24:50.167183+00:00",
"last_updated": "2024-10-25T12:24:50.167183+00:00",
"context": {
"id": "01JB1T5XQQM3VQTXDF5NJV0NCZ",
"parent_id": null,
"user_id": null
}
},
"for": null,
"attribute": null,
"description": "state of binary_sensor.presenza_bassa_scala_taverna_occupancy"
}
}
},
"result": {
"wait": {
"remaining": null,
"trigger": {
"id": "0",
"idx": "0",
"alias": null,
"platform": "state",
"entity_id": "binary_sensor.presenza_bassa_scala_taverna_occupancy",
"from_state": {
"entity_id": "binary_sensor.presenza_bassa_scala_taverna_occupancy",
"state": "on",
"attributes": {
"device_class": "motion",
"friendly_name": "Presenza-Bassa-Scala-Taverna Motion"
},
"last_changed": "2024-10-25T12:23:50.168627+00:00",
"last_reported": "2024-10-25T12:23:50.168627+00:00",
"last_updated": "2024-10-25T12:23:50.168627+00:00",
"context": {
"id": "01JB1T434R6VNS49EBMBB82BH5",
"parent_id": null,
"user_id": null
}
},
"to_state": {
"entity_id": "binary_sensor.presenza_bassa_scala_taverna_occupancy",
"state": "off",
"attributes": {
"device_class": "motion",
"friendly_name": "Presenza-Bassa-Scala-Taverna Motion"
},
"last_changed": "2024-10-25T12:24:50.167183+00:00",
"last_reported": "2024-10-25T12:24:50.167183+00:00",
"last_updated": "2024-10-25T12:24:50.167183+00:00",
"context": {
"id": "01JB1T5XQQM3VQTXDF5NJV0NCZ",
"parent_id": null,
"user_id": null
}
},
"for": null,
"attribute": null,
"description": "state of binary_sensor.presenza_bassa_scala_taverna_occupancy"
}
}
}
}
],
"action/2": [
{
"path": "action/2",
"timestamp": "2024-10-25T12:24:50.169383+00:00",
"result": {
"delay": 20.0,
"done": true
}
}
],
"action/3": [
{
"path": "action/3",
"timestamp": "2024-10-25T12:25:10.173935+00:00",
"result": {
"params": {
"domain": "light",
"service": "turn_off",
"service_data": {},
"target": {
"device_id": [
"226779fb30bd68c5a2784ccd762d90e9"
]
}
},
"running_script": false
}
}
]
},
"config": {
"mode": "restart",
"max_exceeded": "silent",
"actions": [
{
"alias": "Turn on the light",
"action": "light.turn_on",
"target": {
"device_id": "226779fb30bd68c5a2784ccd762d90e9"
}
},
{
"alias": "Wait until there is no motion from device",
"wait_for_trigger": {
"trigger": "state",
"entity_id": "binary_sensor.presenza_bassa_scala_taverna_occupancy",
"from": "on",
"to": "off"
}
},
{
"alias": "Wait the number of seconds that has been set",
"delay": 20
},
{
"alias": "Turn off the light",
"action": "light.turn_off",
"target": {
"device_id": "226779fb30bd68c5a2784ccd762d90e9"
}
}
],
"triggers": {
"trigger": "state",
"entity_id": "binary_sensor.presenza_bassa_scala_taverna_occupancy",
"from": "off",
"to": "on"
},
"id": "1728486287191",
"alias": "Luce Scala Taverna (sensore basso)",
"description": "Attiva Luce Scala Taverna su presenza"
},
"blueprint_inputs": {
"id": "1728486287191",
"alias": "Luce Scala Taverna (sensore basso)",
"description": "Attiva Luce Scala Taverna su presenza",
"use_blueprint": {
"path": "homeassistant/motion_light.yaml",
"input": {
"motion_entity": "binary_sensor.presenza_bassa_scala_taverna_occupancy",
"light_target": {
"device_id": "226779fb30bd68c5a2784ccd762d90e9"
},
"no_motion_wait": 20
}
}
},
"context": {
"id": "01JB1T434STT8E4XS7BDJ9CQRW",
"parent_id": "01JB1T434R6VNS49EBMBB82BH5",
"user_id": null
}
},
"short_dict": {
"last_step": "action/3",
"run_id": "4a79e47504e603c4b72a0c085dd83dc3",
"state": "stopped",
"script_execution": "finished",
"timestamp": {
"start": "2024-10-25T12:23:50.169179+00:00",
"finish": "2024-10-25T12:25:10.181737+00:00"
},
"domain": "automation",
"item_id": "1728486287191",
"trigger": "state of binary_sensor.presenza_bassa_scala_taverna_occupancy"
}
},
{
"extended_dict": {
"last_step": "action/3",
"run_id": "9f3e2602aa6bdf140c36a4ae601fe9fa",
"state": "stopped",
"script_execution": "finished",
"timestamp": {
"start": "2024-10-25T12:25:51.556437+00:00",
"finish": "2024-10-25T12:27:28.856068+00:00"
},
"domain": "automation",
"item_id": "1728486287191",
"trigger": "state of binary_sensor.presenza_bassa_scala_taverna_occupancy",
"trace": {
"trigger/0": [
{
"path": "trigger/0",
"timestamp": "2024-10-25T12:25:51.556870+00:00",
"changed_variables": {
"this": {
"entity_id": "automation.luca_scala_taverna_sensore_basso",
"state": "on",
"attributes": {
"id": "1728486287191",
"last_triggered": "2024-10-25T12:23:50.169611+00:00",
"mode": "restart",
"current": 0,
"friendly_name": "Luce Scala Taverna (sensore basso)"
},
"last_changed": "2024-10-23T23:34:55.059789+00:00",
"last_reported": "2024-10-25T12:25:10.181335+00:00",
"last_updated": "2024-10-25T12:25:10.181335+00:00",
"context": {
"id": "01JB1T6H95SJYJ01YVXASEMB14",
"parent_id": null,
"user_id": null
}
},
"trigger": {
"id": "0",
"idx": "0",
"alias": null,
"platform": "state",
"entity_id": "binary_sensor.presenza_bassa_scala_taverna_occupancy",
"from_state": {
"entity_id": "binary_sensor.presenza_bassa_scala_taverna_occupancy",
"state": "off",
"attributes": {
"device_class": "motion",
"friendly_name": "Presenza-Bassa-Scala-Taverna Motion"
},
"last_changed": "2024-10-25T12:24:50.167183+00:00",
"last_reported": "2024-10-25T12:24:50.167183+00:00",
"last_updated": "2024-10-25T12:24:50.167183+00:00",
"context": {
"id": "01JB1T5XQQM3VQTXDF5NJV0NCZ",
"parent_id": null,
"user_id": null
}
},
"to_state": {
"entity_id": "binary_sensor.presenza_bassa_scala_taverna_occupancy",
"state": "on",
"attributes": {
"device_class": "motion",
"friendly_name": "Presenza-Bassa-Scala-Taverna Motion"
},
"last_changed": "2024-10-25T12:25:51.555743+00:00",
"last_reported": "2024-10-25T12:25:51.555743+00:00",
"last_updated": "2024-10-25T12:25:51.555743+00:00",
"context": {
"id": "01JB1T7SP3W9ZZCK4J9KGV5DZ4",
"parent_id": null,
"user_id": null
}
},
"for": null,
"attribute": null,
"description": "state of binary_sensor.presenza_bassa_scala_taverna_occupancy"
}
}
}
],
"action/0": [
{
"path": "action/0",
"timestamp": "2024-10-25T12:25:51.557381+00:00",
"changed_variables": {
"context": {
"id": "01JB1T7SP4ES8QDR48G4D13WKF",
"parent_id": "01JB1T7SP3W9ZZCK4J9KGV5DZ4",
"user_id": null
}
},
"result": {
"params": {
"domain": "light",
"service": "turn_on",
"service_data": {},
"target": {
"device_id": [
"226779fb30bd68c5a2784ccd762d90e9"
]
}
},
"running_script": false
}
}
],
"action/1": [
{
"path": "action/1",
"timestamp": "2024-10-25T12:25:51.565436+00:00",
"changed_variables": {
"wait": {
"remaining": null,
"trigger": {
"id": "0",
"idx": "0",
"alias": null,
"platform": "state",
"entity_id": "binary_sensor.presenza_bassa_scala_taverna_occupancy",
"from_state": {
"entity_id": "binary_sensor.presenza_bassa_scala_taverna_occupancy",
"state": "on",
"attributes": {
"device_class": "motion",
"friendly_name": "Presenza-Bassa-Scala-Taverna Motion"
},
"last_changed": "2024-10-25T12:25:51.555743+00:00",
"last_reported": "2024-10-25T12:25:51.555743+00:00",
"last_updated": "2024-10-25T12:25:51.555743+00:00",
"context": {
"id": "01JB1T7SP3W9ZZCK4J9KGV5DZ4",
"parent_id": null,
"user_id": null
}
},
"to_state": {
"entity_id": "binary_sensor.presenza_bassa_scala_taverna_occupancy",
"state": "off",
"attributes": {
"device_class": "motion",
"friendly_name": "Presenza-Bassa-Scala-Taverna Motion"
},
"last_changed": "2024-10-25T12:27:08.842598+00:00",
"last_reported": "2024-10-25T12:27:08.842598+00:00",
"last_updated": "2024-10-25T12:27:08.842598+00:00",
"context": {
"id": "01JB1TA55AB6W6496PGD1EWWHG",
"parent_id": null,
"user_id": null
}
},
"for": null,
"attribute": null,
"description": "state of binary_sensor.presenza_bassa_scala_taverna_occupancy"
}
}
},
"result": {
"wait": {
"remaining": null,
"trigger": {
"id": "0",
"idx": "0",
"alias": null,
"platform": "state",
"entity_id": "binary_sensor.presenza_bassa_scala_taverna_occupancy",
"from_state": {
"entity_id": "binary_sensor.presenza_bassa_scala_taverna_occupancy",
"state": "on",
"attributes": {
"device_class": "motion",
"friendly_name": "Presenza-Bassa-Scala-Taverna Motion"
},
"last_changed": "2024-10-25T12:25:51.555743+00:00",
"last_reported": "2024-10-25T12:25:51.555743+00:00",
"last_updated": "2024-10-25T12:25:51.555743+00:00",
"context": {
"id": "01JB1T7SP3W9ZZCK4J9KGV5DZ4",
"parent_id": null,
"user_id": null
}
},
"to_state": {
"entity_id": "binary_sensor.presenza_bassa_scala_taverna_occupancy",
"state": "off",
"attributes": {
"device_class": "motion",
"friendly_name": "Presenza-Bassa-Scala-Taverna Motion"
},
"last_changed": "2024-10-25T12:27:08.842598+00:00",
"last_reported": "2024-10-25T12:27:08.842598+00:00",
"last_updated": "2024-10-25T12:27:08.842598+00:00",
"context": {
"id": "01JB1TA55AB6W6496PGD1EWWHG",
"parent_id": null,
"user_id": null
}
},
"for": null,
"attribute": null,
"description": "state of binary_sensor.presenza_bassa_scala_taverna_occupancy"
}
}
}
}
],
"action/2": [
{
"path": "action/2",
"timestamp": "2024-10-25T12:27:08.846217+00:00",
"result": {
"delay": 20.0,
"done": true
}
}
],
"action/3": [
{
"path": "action/3",
"timestamp": "2024-10-25T12:27:28.849497+00:00",
"result": {
"params": {
"domain": "light",
"service": "turn_off",
"service_data": {},
"target": {
"device_id": [
"226779fb30bd68c5a2784ccd762d90e9"
]
}
},
"running_script": false
}
}
]
},
"config": {
"mode": "restart",
"max_exceeded": "silent",
"actions": [
{
"alias": "Turn on the light",
"action": "light.turn_on",
"target": {
"device_id": "226779fb30bd68c5a2784ccd762d90e9"
}
},
{
"alias": "Wait until there is no motion from device",
"wait_for_trigger": {
"trigger": "state",
"entity_id": "binary_sensor.presenza_bassa_scala_taverna_occupancy",
"from": "on",
"to": "off"
}
},
{
"alias": "Wait the number of seconds that has been set",
"delay": 20
},
{
"alias": "Turn off the light",
"action": "light.turn_off",
"target": {
"device_id": "226779fb30bd68c5a2784ccd762d90e9"
}
}
],
"triggers": {
"trigger": "state",
"entity_id": "binary_sensor.presenza_bassa_scala_taverna_occupancy",
"from": "off",
"to": "on"
},
"id": "1728486287191",
"alias": "Luce Scala Taverna (sensore basso)",
"description": "Attiva Luce Scala Taverna su presenza"
},
"blueprint_inputs": {
"id": "1728486287191",
"alias": "Luce Scala Taverna (sensore basso)",
"description": "Attiva Luce Scala Taverna su presenza",
"use_blueprint": {
"path": "homeassistant/motion_light.yaml",
"input": {
"motion_entity": "binary_sensor.presenza_bassa_scala_taverna_occupancy",
"light_target": {
"device_id": "226779fb30bd68c5a2784ccd762d90e9"
},
"no_motion_wait": 20
}
}
},
"context": {
"id": "01JB1T7SP4ES8QDR48G4D13WKF",
"parent_id": "01JB1T7SP3W9ZZCK4J9KGV5DZ4",
"user_id": null
}
},
"short_dict": {
"last_step": "action/3",
"run_id": "9f3e2602aa6bdf140c36a4ae601fe9fa",
"state": "stopped",
"script_execution": "finished",
"timestamp": {
"start": "2024-10-25T12:25:51.556437+00:00",
"finish": "2024-10-25T12:27:28.856068+00:00"
},
"domain": "automation",
"item_id": "1728486287191",
"trigger": "state of binary_sensor.presenza_bassa_scala_taverna_occupancy"
}
},
{
"extended_dict": {
"last_step": "action/3",
"run_id": "b7c6d79122214405a83903783e16fdb8",
"state": "stopped",
"script_execution": "finished",
"timestamp": {
"start": "2024-10-25T12:28:41.955186+00:00",
"finish": "2024-10-25T12:30:36.075156+00:00"
},
"domain": "automation",
"item_id": "1728486287191",
"trigger": "state of binary_sensor.presenza_bassa_scala_taverna_occupancy",
"trace": {
"trigger/0": [
{
"path": "trigger/0",
"timestamp": "2024-10-25T12:28:41.955585+00:00",
"changed_variables": {
"this": {
"entity_id": "automation.luca_scala_taverna_sensore_basso",
"state": "on",
"attributes": {
"id": "1728486287191",
"last_triggered": "2024-10-25T12:25:51.557074+00:00",
"mode": "restart",
"current": 0,
"friendly_name": "Luce Scala Taverna (sensore basso)"
},
"last_changed": "2024-10-23T23:34:55.059789+00:00",
"last_reported": "2024-10-25T12:27:28.854990+00:00",
"last_updated": "2024-10-25T12:27:28.854990+00:00",
"context": {
"id": "01JB1TARPPKFMCYZ7HR47A8B13",
"parent_id": null,
"user_id": null
}
},
"trigger": {
"id": "0",
"idx": "0",
"alias": null,
"platform": "state",
"entity_id": "binary_sensor.presenza_bassa_scala_taverna_occupancy",
"from_state": {
"entity_id": "binary_sensor.presenza_bassa_scala_taverna_occupancy",
"state": "off",
"attributes": {
"device_class": "motion",
"friendly_name": "Presenza-Bassa-Scala-Taverna Motion"
},
"last_changed": "2024-10-25T12:27:08.842598+00:00",
"last_reported": "2024-10-25T12:27:08.842598+00:00",
"last_updated": "2024-10-25T12:27:08.842598+00:00",
"context": {
"id": "01JB1TA55AB6W6496PGD1EWWHG",
"parent_id": null,
"user_id": null
}
},
"to_state": {
"entity_id": "binary_sensor.presenza_bassa_scala_taverna_occupancy",
"state": "on",
"attributes": {
"device_class": "motion",
"friendly_name": "Presenza-Bassa-Scala-Taverna Motion"
},
"last_changed": "2024-10-25T12:28:41.952926+00:00",
"last_reported": "2024-10-25T12:28:41.952926+00:00",
"last_updated": "2024-10-25T12:28:41.952926+00:00",
"context": {
"id": "01JB1TD030VECWQ2VXE45J1BTW",
"parent_id": null,
"user_id": null
}
},
"for": null,
"attribute": null,
"description": "state of binary_sensor.presenza_bassa_scala_taverna_occupancy"
}
}
}
],
"action/0": [
{
"path": "action/0",
"timestamp": "2024-10-25T12:28:41.957071+00:00",
"changed_variables": {
"context": {
"id": "01JB1TD0335SJS3VFAZ7BMZ6K5",
"parent_id": "01JB1TD030VECWQ2VXE45J1BTW",
"user_id": null
}
},
"result": {
"params": {
"domain": "light",
"service": "turn_on",
"service_data": {},
"target": {
"device_id": [
"226779fb30bd68c5a2784ccd762d90e9"
]
}
},
"running_script": false
}
}
],
"action/1": [
{
"path": "action/1",
"timestamp": "2024-10-25T12:28:41.963118+00:00",
"changed_variables": {
"wait": {
"remaining": null,
"trigger": {
"id": "0",
"idx": "0",
"alias": null,
"platform": "state",
"entity_id": "binary_sensor.presenza_bassa_scala_taverna_occupancy",
"from_state": {
"entity_id": "binary_sensor.presenza_bassa_scala_taverna_occupancy",
"state": "on",
"attributes": {
"device_class": "motion",
"friendly_name": "Presenza-Bassa-Scala-Taverna Motion"
},
"last_changed": "2024-10-25T12:28:41.952926+00:00",
"last_reported": "2024-10-25T12:28:41.952926+00:00",
"last_updated": "2024-10-25T12:28:41.952926+00:00",
"context": {
"id": "01JB1TD030VECWQ2VXE45J1BTW",
"parent_id": null,
"user_id": null
}
},
"to_state": {
"entity_id": "binary_sensor.presenza_bassa_scala_taverna_occupancy",
"state": "off",
"attributes": {
"device_class": "motion",
"friendly_name": "Presenza-Bassa-Scala-Taverna Motion"
},
"last_changed": "2024-10-25T12:30:16.063603+00:00",
"last_reported": "2024-10-25T12:30:16.063603+00:00",
"last_updated": "2024-10-25T12:30:16.063603+00:00",
"context": {
"id": "01JB1TFVZZX6J55F8FGEF60YX8",
"parent_id": null,
"user_id": null
}
},
"for": null,
"attribute": null,
"description": "state of binary_sensor.presenza_bassa_scala_taverna_occupancy"
}
}
},
"result": {
"wait": {
"remaining": null,
"trigger": {
"id": "0",
"idx": "0",
"alias": null,
"platform": "state",
"entity_id": "binary_sensor.presenza_bassa_scala_taverna_occupancy",
"from_state": {
"entity_id": "binary_sensor.presenza_bassa_scala_taverna_occupancy",
"state": "on",
"attributes": {
"device_class": "motion",
"friendly_name": "Presenza-Bassa-Scala-Taverna Motion"
},
"last_changed": "2024-10-25T12:28:41.952926+00:00",
"last_reported": "2024-10-25T12:28:41.952926+00:00",
"last_updated": "2024-10-25T12:28:41.952926+00:00",
"context": {
"id": "01JB1TD030VECWQ2VXE45J1BTW",
"parent_id": null,
"user_id": null
}
},
"to_state": {
"entity_id": "binary_sensor.presenza_bassa_scala_taverna_occupancy",
"state": "off",
"attributes": {
"device_class": "motion",
"friendly_name": "Presenza-Bassa-Scala-Taverna Motion"
},
"last_changed": "2024-10-25T12:30:16.063603+00:00",
"last_reported": "2024-10-25T12:30:16.063603+00:00",
"last_updated": "2024-10-25T12:30:16.063603+00:00",
"context": {
"id": "01JB1TFVZZX6J55F8FGEF60YX8",
"parent_id": null,
"user_id": null
}
},
"for": null,
"attribute": null,
"description": "state of binary_sensor.presenza_bassa_scala_taverna_occupancy"
}
}
}
}
],
"action/2": [
{
"path": "action/2",
"timestamp": "2024-10-25T12:30:16.066802+00:00",
"result": {
"delay": 20.0,
"done": true
}
}
],
"action/3": [
{
"path": "action/3",
"timestamp": "2024-10-25T12:30:36.069517+00:00",
"result": {
"params": {
"domain": "light",
"service": "turn_off",
"service_data": {},
"target": {
"device_id": [
"226779fb30bd68c5a2784ccd762d90e9"
]
}
},
"running_script": false
}
}
]
},
"config": {
"mode": "restart",
"max_exceeded": "silent",
"actions": [
{
"alias": "Turn on the light",
"action": "light.turn_on",
"target": {
"device_id": "226779fb30bd68c5a2784ccd762d90e9"
}
},
{
"alias": "Wait until there is no motion from device",
"wait_for_trigger": {
"trigger": "state",
"entity_id": "binary_sensor.presenza_bassa_scala_taverna_occupancy",
"from": "on",
"to": "off"
}
},
{
"alias": "Wait the number of seconds that has been set",
"delay": 20
},
{
"alias": "Turn off the light",
"action": "light.turn_off",
"target": {
"device_id": "226779fb30bd68c5a2784ccd762d90e9"
}
}
],
"triggers": {
"trigger": "state",
"entity_id": "binary_sensor.presenza_bassa_scala_taverna_occupancy",
"from": "off",
"to": "on"
},
"id": "1728486287191",
"alias": "Luce Scala Taverna (sensore basso)",
"description": "Attiva Luce Scala Taverna su presenza"
},
"blueprint_inputs": {
"id": "1728486287191",
"alias": "Luce Scala Taverna (sensore basso)",
"description": "Attiva Luce Scala Taverna su presenza",
"use_blueprint": {
"path": "homeassistant/motion_light.yaml",
"input": {
"motion_entity": "binary_sensor.presenza_bassa_scala_taverna_occupancy",
"light_target": {
"device_id": "226779fb30bd68c5a2784ccd762d90e9"
},
"no_motion_wait": 20
}
}
},
"context": {
"id": "01JB1TD0335SJS3VFAZ7BMZ6K5",
"parent_id": "01JB1TD030VECWQ2VXE45J1BTW",
"user_id": null
}
},
"short_dict": {
"last_step": "action/3",
"run_id": "b7c6d79122214405a83903783e16fdb8",
"state": "stopped",
"script_execution": "finished",
"timestamp": {
"start": "2024-10-25T12:28:41.955186+00:00",
"finish": "2024-10-25T12:30:36.075156+00:00"
},
"domain": "automation",
"item_id": "1728486287191",
"trigger": "state of binary_sensor.presenza_bassa_scala_taverna_occupancy"
}
}
]
}
}