Sure! Thanks for the help!
I am going to do two postings… the first one is the trace of the one above… the second is me pressing other button (different than 1 and 5)
{
"trace": {
"last_step": "action/1",
"run_id": "3e2faf80901d1c24e8a5223ea1d4b2f4",
"state": "stopped",
"script_execution": "finished",
"timestamp": {
"start": "2024-03-04T15:28:56.867145+00:00",
"finish": "2024-03-04T15:28:56.951727+00:00"
},
"domain": "automation",
"item_id": "1693882855807",
"trigger": "event 'zwave_js_value_notification'",
"trace": {
"trigger/0": [
{
"path": "trigger/0",
"timestamp": "2024-03-04T15:28:56.867263+00:00",
"changed_variables": {
"this": {
"entity_id": "automation.automation_livingroom_zoozcontroller",
"state": "on",
"attributes": {
"id": "1693882855807",
"last_triggered": "2024-03-04T15:28:54.939941+00:00",
"mode": "single",
"current": 0,
"friendly_name": "Automation_LivingRoom_ZoozController"
},
"last_changed": "2024-03-04T15:28:25.345834+00:00",
"last_updated": "2024-03-04T15:28:55.010142+00:00",
"context": {
"id": "01HR51A2MV8AARKK6958H9B49S",
"parent_id": "01HR51A2MRRTMA8BMRK3KFHSX6",
"user_id": null
}
},
"trigger": {
"id": "0",
"idx": "0",
"alias": null,
"platform": "event",
"event": {
"event_type": "zwave_js_value_notification",
"data": {
"domain": "zwave_js",
"node_id": 7,
"home_id": 3926188615,
"endpoint": 0,
"device_id": "dfa2f03da2ebe7fe45ed838e3282d127",
"command_class": 91,
"command_class_name": "Central Scene",
"label": "Scene 001",
"property": "scene",
"property_name": "scene",
"property_key": "001",
"property_key_name": "001",
"value": "KeyPressed",
"value_raw": 0
},
"origin": "LOCAL",
"time_fired": "2024-03-04T15:28:56.863292+00:00",
"context": {
"id": "01HR51A4GZXFFT8M8PFKBR2WBF",
"parent_id": null,
"user_id": null
}
},
"description": "event 'zwave_js_value_notification'"
}
}
}
],
"action/0": [
{
"path": "action/0",
"timestamp": "2024-03-04T15:28:56.871633+00:00",
"changed_variables": {
"context": {
"id": "01HR51A4H3358Z1WVN1XFM923F",
"parent_id": "01HR51A4GZXFFT8M8PFKBR2WBF",
"user_id": null
},
"scene_id": "Scene 001",
"attribute_id": "KeyPressed",
"script": "script.scenecontrol_livingroom_scene001"
}
}
],
"action/1": [
{
"path": "action/1",
"timestamp": "2024-03-04T15:28:56.872215+00:00",
"child_id": {
"domain": "script",
"item_id": "scenecontrol_livingroom_scene001",
"run_id": "7726a8d1899b072219f3188804b24c7e"
},
"result": {
"params": {
"domain": "script",
"service": "scenecontrol_livingroom_scene001",
"service_data": {
"attribute_id": "KeyPressed"
},
"target": {}
},
"running_script": true
}
}
]
},
"config": {
"id": "1693882855807",
"alias": "Automation_LivingRoom_ZoozController",
"description": "Zooz Controller for Living Room",
"trigger": [
{
"platform": "event",
"event_type": "zwave_js_value_notification",
"event_data": {
"command_class_name": "Central Scene",
"device_id": "dfa2f03da2ebe7fe45ed838e3282d127"
}
}
],
"condition": [],
"action": [
{
"variables": {
"scene_id": "{{ trigger.event.data.label }}",
"attribute_id": "{{ trigger.event.data.value }}",
"script": "script.scenecontrol_livingroom_scene{{ scene_id.split(' ')[-1] }}"
}
},
{
"service": "{{ script }}",
"data": {
"attribute_id": "{{ attribute_id }}"
}
}
],
"mode": "single"
},
"blueprint_inputs": null,
"context": {
"id": "01HR51A4H3358Z1WVN1XFM923F",
"parent_id": "01HR51A4GZXFFT8M8PFKBR2WBF",
"user_id": null
}
},
"logbookEntries": [
{
"name": "Automation_LivingRoom_ZoozController",
"message": "triggered by event 'zwave_js_value_notification'",
"source": "event 'zwave_js_value_notification'",
"entity_id": "automation.automation_livingroom_zoozcontroller",
"context_id": "01HR51A4H3358Z1WVN1XFM923F",
"when": 1709566136.867395,
"domain": "automation"
},
{
"name": "SceneControl_LivingRoom_Scene005",
"message": "started",
"entity_id": "script.scenecontrol_livingroom_scene005",
"context_id": "01HR51A4H3358Z1WVN1XFM923F",
"when": 1709566136.873022,
"domain": "script",
"context_event_type": "automation_triggered",
"context_domain": "automation",
"context_name": "Automation_LivingRoom_ZoozController",
"context_message": "triggered by event 'zwave_js_value_notification'",
"context_source": "event 'zwave_js_value_notification'",
"context_entity_id": "automation.automation_livingroom_zoozcontroller"
},
{
"when": 1709566136.873271,
"state": "on",
"entity_id": "script.scenecontrol_livingroom_scene005",
"context_event_type": "automation_triggered",
"context_domain": "automation",
"context_name": "Automation_LivingRoom_ZoozController",
"context_message": "triggered by event 'zwave_js_value_notification'",
"context_source": "event 'zwave_js_value_notification'",
"context_entity_id": "automation.automation_livingroom_zoozcontroller"
},
{
"when": 1709566136.947888,
"state": "off",
"entity_id": "script.scenecontrol_livingroom_scene005",
"context_event_type": "automation_triggered",
"context_domain": "automation",
"context_name": "Automation_LivingRoom_ZoozController",
"context_message": "triggered by event 'zwave_js_value_notification'",
"context_source": "event 'zwave_js_value_notification'",
"context_entity_id": "automation.automation_livingroom_zoozcontroller"
},
{
"when": 1709566137.381157,
"state": "on",
"entity_id": "light.livingroomfan3",
"context_event_type": "automation_triggered",
"context_domain": "automation",
"context_name": "Automation_LivingRoom_ZoozController",
"context_message": "triggered by event 'zwave_js_value_notification'",
"context_source": "event 'zwave_js_value_notification'",
"context_entity_id": "automation.automation_livingroom_zoozcontroller"
},
{
"when": 1709566137.382328,
"state": "on",
"entity_id": "light.livingroomfanlights",
"icon": "mdi:ceiling-fan-light",
"context_event_type": "automation_triggered",
"context_domain": "automation",
"context_name": "Automation_LivingRoom_ZoozController",
"context_message": "triggered by event 'zwave_js_value_notification'",
"context_source": "event 'zwave_js_value_notification'",
"context_entity_id": "automation.automation_livingroom_zoozcontroller"
},
{
"when": 1709566137.397431,
"state": "on",
"entity_id": "light.livingroomfan4",
"context_event_type": "automation_triggered",
"context_domain": "automation",
"context_name": "Automation_LivingRoom_ZoozController",
"context_message": "triggered by event 'zwave_js_value_notification'",
"context_source": "event 'zwave_js_value_notification'",
"context_entity_id": "automation.automation_livingroom_zoozcontroller"
},
{
"when": 1709566137.405828,
"state": "on",
"entity_id": "light.livingroomfan2",
"context_event_type": "automation_triggered",
"context_domain": "automation",
"context_name": "Automation_LivingRoom_ZoozController",
"context_message": "triggered by event 'zwave_js_value_notification'",
"context_source": "event 'zwave_js_value_notification'",
"context_entity_id": "automation.automation_livingroom_zoozcontroller"
},
{
"when": 1709566137.424223,
"state": "on",
"entity_id": "light.livingroomfan1",
"context_event_type": "automation_triggered",
"context_domain": "automation",
"context_name": "Automation_LivingRoom_ZoozController",
"context_message": "triggered by event 'zwave_js_value_notification'",
"context_source": "event 'zwave_js_value_notification'",
"context_entity_id": "automation.automation_livingroom_zoozcontroller"
}
]
}