Philio smart color button PSR04 as trigger

OZW was removed in 2022.3, so the instructions aren’t even valid for 2022.6. The user you are currently responding to is using HA 2023.11.3.

@Henkonoly These instructions you are trying to follow don’t apply to your installation, they are for HA versions that are almost two years old.

Like I said, my instructions were clearly for someone who knows what he is doing…

First off, are you using the Z-Wave JS official add-on, or using Z-Wave JS UI (ZUI)?

Second, have you looked at the user manual yet? It includes instructions for using association groups which will let you control the light switches without using HA, if that’s what you want. This is only possible with ZUI

If you want to use HA to control the lights, you would create an automation to handle the button presses and turn on the lights. To start with, you could download and post the device diagnostic file so we can see what capabilities are exposed. You could also enable driver debug logs and show what happens when the buttons are pressed.

Based on the prior conversations and looking at the manual, the device by default seems to use Basic Set. This event may not be available in HA without a device config change. The diagnostic and logs will help determine this.

@freshcoast, thank you very much for this

First off, are you using the Z-Wave JS official add-on, or using Z-Wave JS UI (ZUI)?
Yes I use Z-Wave JS official add-on
Second, have you looked at the user manual yet? It includes instructions for using association groups which will let you control the light switches without using HA, if that’s what you want. This is only possible with ZUI
I have read the manual and also contacted the manufacturer for support but the issue is not with the button, but with the integration in HA

If you want to use HA to control the lights, you would create an automation to handle the button presses and turn on the lights.
I know, I use the same matter with my 24 Tasmota devices
To start with, you could download and post the device diagnostic file so we can see what capabilities are exposed.

{
  "home_assistant": {
    "installation_type": "Home Assistant OS",
    "version": "2023.12.0",
    "dev": false,
    "hassio": true,
    "virtualenv": false,
    "python_version": "3.11.6",
    "docker": true,
    "arch": "x86_64",
    "timezone": "Europe/Amsterdam",
    "os_name": "Linux",
    "os_version": "6.1.63-haos",
    "supervisor": "2023.11.6",
    "host_os": "Home Assistant OS 11.2",
    "docker_version": "24.0.7",
    "chassis": "vm",
    "run_as_root": true
  },
  "custom_components": {
    "localtuya": {
      "version": "5.2.1",
      "requirements": []
    },
    "zonneplan_one": {
      "version": "0.0.22",
      "requirements": []
    },
    "hacs": {
      "version": "1.33.0",
      "requirements": [
        "aiogithubapi>=22.10.1"
      ]
    },
    "better_thermostat": {
      "version": "1.4.0",
      "requirements": []
    }
  },
  "integration_manifest": {
    "domain": "zwave_js",
    "name": "Z-Wave",
    "codeowners": [
      "@home-assistant/z-wave"
    ],
    "config_flow": true,
    "dependencies": [
      "http",
      "repairs",
      "usb",
      "websocket_api"
    ],
    "documentation": "https://www.home-assistant.io/integrations/zwave_js",
    "integration_type": "hub",
    "iot_class": "local_push",
    "loggers": [
      "zwave_js_server"
    ],
    "quality_scale": "platinum",
    "requirements": [
      "pyserial==3.5",
      "zwave-js-server-python==0.54.0"
    ],
    "usb": [
      {
        "vid": "0658",
        "pid": "0200",
        "known_devices": [
          "Aeotec Z-Stick Gen5+",
          "Z-WaveMe UZB"
        ]
      },
      {
        "vid": "10C4",
        "pid": "8A2A",
        "description": "*z-wave*",
        "known_devices": [
          "Nortek HUSBZB-1"
        ]
      }
    ],
    "zeroconf": [
      "_zwave-js-server._tcp.local."
    ],
    "is_built_in": true
  },
  "data": {
    "versionInfo": {
      "driverVersion": "12.4.0",
      "serverVersion": "1.33.0",
      "minSchemaVersion": 0,
      "maxSchemaVersion": 33
    },
    "entities": [
      {
        "domain": "light",
        "entity_id": "light.eco_dim_z_wave_led_dimmer_2",
        "original_name": "",
        "original_device_class": null,
        "disabled": false,
        "disabled_by": null,
        "hidden_by": null,
        "original_icon": null,
        "entity_category": null,
        "supported_features": 32,
        "unit_of_measurement": null,
        "value_id": "6-38-0-currentValue",
        "primary_value": {
          "command_class": 38,
          "command_class_name": "Multilevel Switch",
          "endpoint": 0,
          "property": "currentValue",
          "property_name": "currentValue",
          "property_key": null,
          "property_key_name": null
        }
      },
      {
        "domain": "sensor",
        "entity_id": "sensor.eco_dim_z_wave_led_dimmer_electric_consumption_kwh_2",
        "original_name": "Electric Consumption [kWh]",
        "original_device_class": "energy",
        "disabled": false,
        "disabled_by": null,
        "hidden_by": null,
        "original_icon": null,
        "entity_category": null,
        "supported_features": 0,
        "unit_of_measurement": "kWh",
        "value_id": "6-50-0-value-65537",
        "primary_value": {
          "command_class": 50,
          "command_class_name": "Meter",
          "endpoint": 0,
          "property": "value",
          "property_name": "value",
          "property_key": 65537,
          "property_key_name": "Electric_kWh_Consumed"
        }
      },
      {
        "domain": "sensor",
        "entity_id": "sensor.eco_dim_z_wave_led_dimmer_electric_consumption_w_2",
        "original_name": "Electric Consumption [W]",
        "original_device_class": "power",
        "disabled": false,
        "disabled_by": null,
        "hidden_by": null,
        "original_icon": null,
        "entity_category": null,
        "supported_features": 0,
        "unit_of_measurement": "W",
        "value_id": "6-50-0-value-66049",
        "primary_value": {
          "command_class": 50,
          "command_class_name": "Meter",
          "endpoint": 0,
          "property": "value",
          "property_name": "value",
          "property_key": 66049,
          "property_key_name": "Electric_W_Consumed"
        }
      },
      {
        "domain": "select",
        "entity_id": "select.eco_dim_z_wave_led_dimmer_state_after_power_failure_2",
        "original_name": "State After Power Failure",
        "original_device_class": null,
        "disabled": true,
        "disabled_by": "integration",
        "hidden_by": null,
        "original_icon": null,
        "entity_category": "config",
        "supported_features": 0,
        "unit_of_measurement": null,
        "value_id": "6-112-0-1",
        "primary_value": {
          "command_class": 112,
          "command_class_name": "Configuration",
          "endpoint": 0,
          "property": 1,
          "property_name": "State After Power Failure",
          "property_key": null,
          "property_key_name": null
        }
      },
      {
        "domain": "select",
        "entity_id": "select.eco_dim_z_wave_led_dimmer_notification_when_load_status_change_2",
        "original_name": "Notification When Load Status Change",
        "original_device_class": null,
        "disabled": true,
        "disabled_by": "integration",
        "hidden_by": null,
        "original_icon": null,
        "entity_category": "config",
        "supported_features": 0,
        "unit_of_measurement": null,
        "value_id": "6-112-0-2",
        "primary_value": {
          "command_class": 112,
          "command_class_name": "Configuration",
          "endpoint": 0,
          "property": 2,
          "property_name": "Notification When Load Status Change",
          "property_key": null,
          "property_key_name": null
        }
      },
      {
        "domain": "number",
        "entity_id": "number.eco_dim_z_wave_led_dimmer_default_dimming_speed_2",
        "original_name": "Default Dimming Speed",
        "original_device_class": null,
        "disabled": true,
        "disabled_by": "integration",
        "hidden_by": null,
        "original_icon": null,
        "entity_category": "config",
        "supported_features": 0,
        "unit_of_measurement": "seconds",
        "value_id": "6-112-0-3",
        "primary_value": {
          "command_class": 112,
          "command_class_name": "Configuration",
          "endpoint": 0,
          "property": 3,
          "property_name": "Default Dimming Speed",
          "property_key": null,
          "property_key_name": null
        }
      },
      {
        "domain": "select",
        "entity_id": "select.eco_dim_z_wave_led_dimmer_enable_or_disable_external_switch_to_pair_network_2",
        "original_name": "Enable or Disable External Switch to Pair Network",
        "original_device_class": null,
        "disabled": true,
        "disabled_by": "integration",
        "hidden_by": null,
        "original_icon": null,
        "entity_category": "config",
        "supported_features": 0,
        "unit_of_measurement": null,
        "value_id": "6-112-0-5",
        "primary_value": {
          "command_class": 112,
          "command_class_name": "Configuration",
          "endpoint": 0,
          "property": 5,
          "property_name": "Enable or Disable External Switch to Pair Network",
          "property_key": null,
          "property_key_name": null
        }
      },
      {
        "domain": "select",
        "entity_id": "select.eco_dim_z_wave_led_dimmer_dimming_algorithm_2",
        "original_name": "Dimming Algorithm",
        "original_device_class": null,
        "disabled": true,
        "disabled_by": "integration",
        "hidden_by": null,
        "original_icon": null,
        "entity_category": "config",
        "supported_features": 0,
        "unit_of_measurement": null,
        "value_id": "6-112-0-6",
        "primary_value": {
          "command_class": 112,
          "command_class_name": "Configuration",
          "endpoint": 0,
          "property": 6,
          "property_name": "Dimming Algorithm",
          "property_key": null,
          "property_key_name": null
        }
      },
      {
        "domain": "number",
        "entity_id": "number.eco_dim_z_wave_led_dimmer_default_brightness_2",
        "original_name": "Default Brightness",
        "original_device_class": null,
        "disabled": true,
        "disabled_by": "integration",
        "hidden_by": null,
        "original_icon": null,
        "entity_category": "config",
        "supported_features": 0,
        "unit_of_measurement": null,
        "value_id": "6-112-0-7",
        "primary_value": {
          "command_class": 112,
          "command_class_name": "Configuration",
          "endpoint": 0,
          "property": 7,
          "property_name": "Default Brightness",
          "property_key": null,
          "property_key_name": null
        }
      },
      {
        "domain": "number",
        "entity_id": "number.eco_dim_z_wave_led_dimmer_turn_off_delay_2",
        "original_name": "Turn Off Delay",
        "original_device_class": null,
        "disabled": true,
        "disabled_by": "integration",
        "hidden_by": null,
        "original_icon": null,
        "entity_category": "config",
        "supported_features": 0,
        "unit_of_measurement": "seconds",
        "value_id": "6-112-0-8",
        "primary_value": {
          "command_class": 112,
          "command_class_name": "Configuration",
          "endpoint": 0,
          "property": 8,
          "property_name": "Turn Off Delay",
          "property_key": null,
          "property_key_name": null
        }
      }
    ],
    "state": {
      "nodeId": 6,
      "index": 0,
      "installerIcon": 1536,
      "userIcon": 1536,
      "status": 4,
      "ready": true,
      "isListening": true,
      "isRouting": true,
      "isSecure": false,
      "manufacturerId": 1073,
      "productId": 2,
      "productType": 514,
      "firmwareVersion": "1.12",
      "zwavePlusVersion": 1,
      "deviceConfig": {
        "filename": "/data/db/devices/0x0431/ecodim.json",
        "isEmbedded": true,
        "manufacturer": "EcoDim",
        "manufacturerId": 1073,
        "label": "ECO-DIM",
        "description": "ECO-DIM Z-Wave LED Dimmer",
        "devices": [
          {
            "productType": 514,
            "productId": 1
          },
          {
            "productType": 514,
            "productId": 2
          }
        ],
        "firmwareVersion": {
          "min": "0.0",
          "max": "255.255"
        },
        "preferred": false,
        "associations": {},
        "paramInformation": {
          "_map": {}
        }
      },
      "label": "ECO-DIM",
      "interviewAttempts": 0,
      "isFrequentListening": false,
      "maxDataRate": 100000,
      "supportedDataRates": [
        40000,
        100000
      ],
      "protocolVersion": 3,
      "supportsBeaming": true,
      "supportsSecurity": false,
      "nodeType": 1,
      "zwavePlusNodeType": 0,
      "zwavePlusRoleType": 5,
      "deviceClass": {
        "basic": {
          "key": 4,
          "label": "Routing Slave"
        },
        "generic": {
          "key": 17,
          "label": "Multilevel Switch"
        },
        "specific": {
          "key": 1,
          "label": "Multilevel Power Switch"
        },
        "mandatorySupportedCCs": [
          32,
          38,
          39
        ],
        "mandatoryControlledCCs": []
      },
      "interviewStage": "Complete",
      "deviceDatabaseUrl": "https://devices.zwave-js.io/?jumpTo=0x0431:0x0202:0x0002:1.12",
      "statistics": {
        "commandsTX": 13,
        "commandsRX": 13,
        "commandsDroppedRX": 0,
        "commandsDroppedTX": 0,
        "timeoutResponse": 2,
        "rtt": 32.9,
        "lastSeen": "2023-12-08T06:10:30.208Z",
        "rssi": -77,
        "lwr": {
          "protocolDataRate": 3,
          "repeaters": [],
          "rssi": -78,
          "repeaterRSSI": []
        }
      },
      "highestSecurityClass": -1,
      "isControllerNode": false,
      "keepAwake": false,
      "lastSeen": "2023-12-08T06:10:30.208Z",
      "values": {
        "6-38-0-currentValue": {
          "endpoint": 0,
          "commandClass": 38,
          "commandClassName": "Multilevel Switch",
          "property": "currentValue",
          "propertyName": "currentValue",
          "ccVersion": 2,
          "metadata": {
            "type": "number",
            "readable": true,
            "writeable": false,
            "label": "Current value",
            "min": 0,
            "max": 99,
            "stateful": true,
            "secret": false
          },
          "value": 0
        },
        "6-38-0-targetValue": {
          "endpoint": 0,
          "commandClass": 38,
          "commandClassName": "Multilevel Switch",
          "property": "targetValue",
          "propertyName": "targetValue",
          "ccVersion": 2,
          "metadata": {
            "type": "number",
            "readable": true,
            "writeable": true,
            "label": "Target value",
            "valueChangeOptions": [
              "transitionDuration"
            ],
            "min": 0,
            "max": 99,
            "stateful": true,
            "secret": false
          },
          "value": 255
        },
        "6-38-0-Up": {
          "endpoint": 0,
          "commandClass": 38,
          "commandClassName": "Multilevel Switch",
          "property": "Up",
          "propertyName": "Up",
          "ccVersion": 2,
          "metadata": {
            "type": "boolean",
            "readable": false,
            "writeable": true,
            "label": "Perform a level change (Up)",
            "ccSpecific": {
              "switchType": 2
            },
            "valueChangeOptions": [
              "transitionDuration"
            ],
            "states": {
              "true": "Start",
              "false": "Stop"
            },
            "stateful": true,
            "secret": false
          }
        },
        "6-38-0-Down": {
          "endpoint": 0,
          "commandClass": 38,
          "commandClassName": "Multilevel Switch",
          "property": "Down",
          "propertyName": "Down",
          "ccVersion": 2,
          "metadata": {
            "type": "boolean",
            "readable": false,
            "writeable": true,
            "label": "Perform a level change (Down)",
            "ccSpecific": {
              "switchType": 2
            },
            "valueChangeOptions": [
              "transitionDuration"
            ],
            "states": {
              "true": "Start",
              "false": "Stop"
            },
            "stateful": true,
            "secret": false
          }
        },
        "6-38-0-duration": {
          "endpoint": 0,
          "commandClass": 38,
          "commandClassName": "Multilevel Switch",
          "property": "duration",
          "propertyName": "duration",
          "ccVersion": 2,
          "metadata": {
            "type": "duration",
            "readable": true,
            "writeable": false,
            "label": "Remaining duration",
            "stateful": true,
            "secret": false
          }
        },
        "6-38-0-restorePrevious": {
          "endpoint": 0,
          "commandClass": 38,
          "commandClassName": "Multilevel Switch",
          "property": "restorePrevious",
          "propertyName": "restorePrevious",
          "ccVersion": 2,
          "metadata": {
            "type": "boolean",
            "readable": false,
            "writeable": true,
            "label": "Restore previous value",
            "states": {
              "true": "Restore"
            },
            "stateful": true,
            "secret": false
          }
        },
        "6-50-0-value-65537": {
          "endpoint": 0,
         

You could also enable driver debug logs and show what happens when the buttons are pressed.

This is just 1 press on the button, without rotation:

2023-12-08 08:55:00.395 INFO (MainThread) [homeassistant.components.zwave_js] Enabling zwave-js-server logging
2023-12-08 08:55:00.396 DEBUG (MainThread) [zwave_js_server] Publishing message:
{'command': 'start_listening_logs',
 'messageId': 'd76fcb5f032d44b780edf80018c8f480'}

2023-12-08 08:55:00.399 DEBUG (MainThread) [zwave_js_server] Received message:
WSMessage(type=<WSMsgType.TEXT: 1>, data='{"type":"result","success":true,"messageId":"d76fcb5f032d44b780edf80018c8f480","result":{}}', extra='')

2023-12-08 08:55:00.399 INFO (MainThread) [homeassistant.components.zwave_js] Zwave-js-server logging is enabled
2023-12-08 08:55:02.792 DEBUG (MainThread) [zwave_js_server.server] 2023-12-08T07:55:02.791Z:
2023-12-08T07:55:02.791Z SERIAL « 0x011300a80000010003055b0394000100a5007f7f2b                        (21 bytes)
2023-12-08 08:55:02.796 DEBUG (MainThread) [zwave_js_server] Received message:
WSMessage(type=<WSMsgType.TEXT: 1>, data='{"type":"event","event":{"source":"node","event":"statistics updated","nodeId":3,"statistics":{"commandsTX":0,"commandsRX":25,"commandsDroppedRX":0,"commandsDroppedTX":0,"timeoutResponse":0,"lastSeen":"2023-12-08T07:55:02.792Z"}}}', extra='')

2023-12-08 08:55:02.796 DEBUG (MainThread) [zwave_js_server.server] 2023-12-08T07:55:02.792Z:
2023-12-08T07:55:02.792Z SERIAL » [ACK]                                                                   (0x06)
2023-12-08 08:55:02.797 DEBUG (MainThread) [zwave_js_server.server] 2023-12-08T07:55:02.793Z:
2023-12-08T07:55:02.793Z DRIVER « [Node 003] [REQ] [BridgeApplicationCommand]
                                  │ RSSI: -91 dBm
                                  └─[CentralSceneCCNotification]
                                      sequence number: 148
                                      key attribute:   KeyPressed
                                      scene number:    1
2023-12-08 08:55:02.797 DEBUG (MainThread) [zwave_js_server.server] 2023-12-08T07:55:02.794Z:
2023-12-08T07:55:02.794Z CNTRLR   [Node 003] [!] [Central Scene] scene[001]: 0
2023-12-08 08:55:02.797 DEBUG (MainThread) [zwave_js_server] Received message:
WSMessage(type=<WSMsgType.TEXT: 1>, data='{"type":"event","event":{"source":"node","event":"value notification","nodeId":3,"args":{"commandClassName":"Central Scene","commandClass":91,"property":"scene","propertyKey":"001","value":0,"propertyName":"scene","propertyKeyName":"001"}}}', extra='')

2023-12-08 08:55:02.798 INFO (MainThread) [zwave_js_server.server] 2023-12-08T07:55:02.795Z:
2023-12-08T07:55:02.795Z CNTRLR « [Node 003] received CentralScene notification {
                                      "nodeId": 3,
                                      "ccId": "Central Scene",
                                      "ccCommand": "0x03",
                                      "payload": "0x940001"
                                  }
2023-12-08 08:55:03.042 DEBUG (MainThread) [zwave_js_server] Received message:
WSMessage(type=<WSMsgType.TEXT: 1>, data='{"type":"event","event":{"source":"node","event":"statistics updated","nodeId":3,"statistics":{"commandsTX":0,"commandsRX":26,"commandsDroppedRX":0,"commandsDroppedTX":0,"timeoutResponse":0,"lastSeen":"2023-12-08T07:55:02.792Z"}}}', extra='')


Based on the prior conversations and looking at the manual, the device by default seems to use Basic Set. This event may not be available in HA without a device config change. The diagnostic and logs will help determine this.

I think you are right on the spot!
But I don’t know how to act on it

You help is much appreciated!
@MarkoMarjamaa, Thx for the help before, it was al with the right intensions!

This is the complete device diagnostic file because i ran in max post carracters :grinning:

{
  "home_assistant": {
    "installation_type": "Home Assistant OS",
    "version": "2023.12.0",
    "dev": false,
    "hassio": true,
    "virtualenv": false,
    "python_version": "3.11.6",
    "docker": true,
    "arch": "x86_64",
    "timezone": "Europe/Amsterdam",
    "os_name": "Linux",
    "os_version": "6.1.63-haos",
    "supervisor": "2023.11.6",
    "host_os": "Home Assistant OS 11.2",
    "docker_version": "24.0.7",
    "chassis": "vm",
    "run_as_root": true
  },
  "custom_components": {
    "localtuya": {
      "version": "5.2.1",
      "requirements": []
    },
    "zonneplan_one": {
      "version": "0.0.22",
      "requirements": []
    },
    "hacs": {
      "version": "1.33.0",
      "requirements": [
        "aiogithubapi>=22.10.1"
      ]
    },
    "better_thermostat": {
      "version": "1.4.0",
      "requirements": []
    }
  },
  "integration_manifest": {
    "domain": "zwave_js",
    "name": "Z-Wave",
    "codeowners": [
      "@home-assistant/z-wave"
    ],
    "config_flow": true,
    "dependencies": [
      "http",
      "repairs",
      "usb",
      "websocket_api"
    ],
    "documentation": "https://www.home-assistant.io/integrations/zwave_js",
    "integration_type": "hub",
    "iot_class": "local_push",
    "loggers": [
      "zwave_js_server"
    ],
    "quality_scale": "platinum",
    "requirements": [
      "pyserial==3.5",
      "zwave-js-server-python==0.54.0"
    ],
    "usb": [
      {
        "vid": "0658",
        "pid": "0200",
        "known_devices": [
          "Aeotec Z-Stick Gen5+",
          "Z-WaveMe UZB"
        ]
      },
      {
        "vid": "10C4",
        "pid": "8A2A",
        "description": "*z-wave*",
        "known_devices": [
          "Nortek HUSBZB-1"
        ]
      }
    ],
    "zeroconf": [
      "_zwave-js-server._tcp.local."
    ],
    "is_built_in": true
  },
  "data": {
    "versionInfo": {
      "driverVersion": "12.4.0",
      "serverVersion": "1.33.0",
      "minSchemaVersion": 0,
      "maxSchemaVersion": 33
    },
    "entities": [
      {
        "domain": "light",
        "entity_id": "light.eco_dim_z_wave_led_dimmer_2",
        "original_name": "",
        "original_device_class": null,
        "disabled": false,
        "disabled_by": null,
        "hidden_by": null,
        "original_icon": null,
        "entity_category": null,
        "supported_features": 32,
        "unit_of_measurement": null,
        "value_id": "6-38-0-currentValue",
        "primary_value": {
          "command_class": 38,
          "command_class_name": "Multilevel Switch",
          "endpoint": 0,
          "property": "currentValue",
          "property_name": "currentValue",
          "property_key": null,
          "property_key_name": null
        }
      },
      {
        "domain": "sensor",
        "entity_id": "sensor.eco_dim_z_wave_led_dimmer_electric_consumption_kwh_2",
        "original_name": "Electric Consumption [kWh]",
        "original_device_class": "energy",
        "disabled": false,
        "disabled_by": null,
        "hidden_by": null,
        "original_icon": null,
        "entity_category": null,
        "supported_features": 0,
        "unit_of_measurement": "kWh",
        "value_id": "6-50-0-value-65537",
        "primary_value": {
          "command_class": 50,
          "command_class_name": "Meter",
          "endpoint": 0,
          "property": "value",
          "property_name": "value",
          "property_key": 65537,
          "property_key_name": "Electric_kWh_Consumed"
        }
      },
      {
        "domain": "sensor",
        "entity_id": "sensor.eco_dim_z_wave_led_dimmer_electric_consumption_w_2",
        "original_name": "Electric Consumption [W]",
        "original_device_class": "power",
        "disabled": false,
        "disabled_by": null,
        "hidden_by": null,
        "original_icon": null,
        "entity_category": null,
        "supported_features": 0,
        "unit_of_measurement": "W",
        "value_id": "6-50-0-value-66049",
        "primary_value": {
          "command_class": 50,
          "command_class_name": "Meter",
          "endpoint": 0,
          "property": "value",
          "property_name": "value",
          "property_key": 66049,
          "property_key_name": "Electric_W_Consumed"
        }
      },
      {
        "domain": "select",
        "entity_id": "select.eco_dim_z_wave_led_dimmer_state_after_power_failure_2",
        "original_name": "State After Power Failure",
        "original_device_class": null,
        "disabled": true,
        "disabled_by": "integration",
        "hidden_by": null,
        "original_icon": null,
        "entity_category": "config",
        "supported_features": 0,
        "unit_of_measurement": null,
        "value_id": "6-112-0-1",
        "primary_value": {
          "command_class": 112,
          "command_class_name": "Configuration",
          "endpoint": 0,
          "property": 1,
          "property_name": "State After Power Failure",
          "property_key": null,
          "property_key_name": null
        }
      },
      {
        "domain": "select",
        "entity_id": "select.eco_dim_z_wave_led_dimmer_notification_when_load_status_change_2",
        "original_name": "Notification When Load Status Change",
        "original_device_class": null,
        "disabled": true,
        "disabled_by": "integration",
        "hidden_by": null,
        "original_icon": null,
        "entity_category": "config",
        "supported_features": 0,
        "unit_of_measurement": null,
        "value_id": "6-112-0-2",
        "primary_value": {
          "command_class": 112,
          "command_class_name": "Configuration",
          "endpoint": 0,
          "property": 2,
          "property_name": "Notification When Load Status Change",
          "property_key": null,
          "property_key_name": null
        }
      },
      {
        "domain": "number",
        "entity_id": "number.eco_dim_z_wave_led_dimmer_default_dimming_speed_2",
        "original_name": "Default Dimming Speed",
        "original_device_class": null,
        "disabled": true,
        "disabled_by": "integration",
        "hidden_by": null,
        "original_icon": null,
        "entity_category": "config",
        "supported_features": 0,
        "unit_of_measurement": "seconds",
        "value_id": "6-112-0-3",
        "primary_value": {
          "command_class": 112,
          "command_class_name": "Configuration",
          "endpoint": 0,
          "property": 3,
          "property_name": "Default Dimming Speed",
          "property_key": null,
          "property_key_name": null
        }
      },
      {
        "domain": "select",
        "entity_id": "select.eco_dim_z_wave_led_dimmer_enable_or_disable_external_switch_to_pair_network_2",
        "original_name": "Enable or Disable External Switch to Pair Network",
        "original_device_class": null,
        "disabled": true,
        "disabled_by": "integration",
        "hidden_by": null,
        "original_icon": null,
        "entity_category": "config",
        "supported_features": 0,
        "unit_of_measurement": null,
        "value_id": "6-112-0-5",
        "primary_value": {
          "command_class": 112,
          "command_class_name": "Configuration",
          "endpoint": 0,
          "property": 5,
          "property_name": "Enable or Disable External Switch to Pair Network",
          "property_key": null,
          "property_key_name": null
        }
      },
      {
        "domain": "select",
        "entity_id": "select.eco_dim_z_wave_led_dimmer_dimming_algorithm_2",
        "original_name": "Dimming Algorithm",
        "original_device_class": null,
        "disabled": true,
        "disabled_by": "integration",
        "hidden_by": null,
        "original_icon": null,
        "entity_category": "config",
        "supported_features": 0,
        "unit_of_measurement": null,
        "value_id": "6-112-0-6",
        "primary_value": {
          "command_class": 112,
          "command_class_name": "Configuration",
          "endpoint": 0,
          "property": 6,
          "property_name": "Dimming Algorithm",
          "property_key": null,
          "property_key_name": null
        }
      },
      {
        "domain": "number",
        "entity_id": "number.eco_dim_z_wave_led_dimmer_default_brightness_2",
        "original_name": "Default Brightness",
        "original_device_class": null,
        "disabled": true,
        "disabled_by": "integration",
        "hidden_by": null,
        "original_icon": null,
        "entity_category": "config",
        "supported_features": 0,
        "unit_of_measurement": null,
        "value_id": "6-112-0-7",
        "primary_value": {
          "command_class": 112,
          "command_class_name": "Configuration",
          "endpoint": 0,
          "property": 7,
          "property_name": "Default Brightness",
          "property_key": null,
          "property_key_name": null
        }
      },
      {
        "domain": "number",
        "entity_id": "number.eco_dim_z_wave_led_dimmer_turn_off_delay_2",
        "original_name": "Turn Off Delay",
        "original_device_class": null,
        "disabled": true,
        "disabled_by": "integration",
        "hidden_by": null,
        "original_icon": null,
        "entity_category": "config",
        "supported_features": 0,
        "unit_of_measurement": "seconds",
        "value_id": "6-112-0-8",
        "primary_value": {
          "command_class": 112,
          "command_class_name": "Configuration",
          "endpoint": 0,
          "property": 8,
          "property_name": "Turn Off Delay",
          "property_key": null,
          "property_key_name": null
        }
      }
    ],
    "state": {
      "nodeId": 6,
      "index": 0,
      "installerIcon": 1536,
      "userIcon": 1536,
      "status": 4,
      "ready": true,
      "isListening": true,
      "isRouting": true,
      "isSecure": false,
      "manufacturerId": 1073,
      "productId": 2,
      "productType": 514,
      "firmwareVersion": "1.12",
      "zwavePlusVersion": 1,
      "deviceConfig": {
        "filename": "/data/db/devices/0x0431/ecodim.json",
        "isEmbedded": true,
        "manufacturer": "EcoDim",
        "manufacturerId": 1073,
        "label": "ECO-DIM",
        "description": "ECO-DIM Z-Wave LED Dimmer",
        "devices": [
          {
            "productType": 514,
            "productId": 1
          },
          {
            "productType": 514,
            "productId": 2
          }
        ],
        "firmwareVersion": {
          "min": "0.0",
          "max": "255.255"
        },
        "preferred": false,
        "associations": {},
        "paramInformation": {
          "_map": {}
        }
      },
      "label": "ECO-DIM",
      "interviewAttempts": 0,
      "isFrequentListening": false,
      "maxDataRate": 100000,
      "supportedDataRates": [
        40000,
        100000
      ],
      "protocolVersion": 3,
      "supportsBeaming": true,
      "supportsSecurity": false,
      "nodeType": 1,
      "zwavePlusNodeType": 0,
      "zwavePlusRoleType": 5,
      "deviceClass": {
        "basic": {
          "key": 4,
          "label": "Routing Slave"
        },
        "generic": {
          "key": 17,
          "label": "Multilevel Switch"
        },
        "specific": {
          "key": 1,
          "label": "Multilevel Power Switch"
        },
        "mandatorySupportedCCs": [
          32,
          38,
          39
        ],
        "mandatoryControlledCCs": []
      },
      "interviewStage": "Complete",
      "deviceDatabaseUrl": "https://devices.zwave-js.io/?jumpTo=0x0431:0x0202:0x0002:1.12",
      "statistics": {
        "commandsTX": 13,
        "commandsRX": 13,
        "commandsDroppedRX": 0,
        "commandsDroppedTX": 0,
        "timeoutResponse": 2,
        "rtt": 32.9,
        "lastSeen": "2023-12-08T06:10:30.208Z",
        "rssi": -77,
        "lwr": {
          "protocolDataRate": 3,
          "repeaters": [],
          "rssi": -78,
          "repeaterRSSI": []
        }
      },
      "highestSecurityClass": -1,
      "isControllerNode": false,
      "keepAwake": false,
      "lastSeen": "2023-12-08T06:10:30.208Z",
      "values": {
        "6-38-0-currentValue": {
          "endpoint": 0,
          "commandClass": 38,
          "commandClassName": "Multilevel Switch",
          "property": "currentValue",
          "propertyName": "currentValue",
          "ccVersion": 2,
          "metadata": {
            "type": "number",
            "readable": true,
            "writeable": false,
            "label": "Current value",
            "min": 0,
            "max": 99,
            "stateful": true,
            "secret": false
          },
          "value": 0
        },
        "6-38-0-targetValue": {
          "endpoint": 0,
          "commandClass": 38,
          "commandClassName": "Multilevel Switch",
          "property": "targetValue",
          "propertyName": "targetValue",
          "ccVersion": 2,
          "metadata": {
            "type": "number",
            "readable": true,
            "writeable": true,
            "label": "Target value",
            "valueChangeOptions": [
              "transitionDuration"
            ],
            "min": 0,
            "max": 99,
            "stateful": true,
            "secret": false
          },
          "value": 255
        },
        "6-38-0-Up": {
          "endpoint": 0,
          "commandClass": 38,
          "commandClassName": "Multilevel Switch",
          "property": "Up",
          "propertyName": "Up",
          "ccVersion": 2,
          "metadata": {
            "type": "boolean",
            "readable": false,
            "writeable": true,
            "label": "Perform a level change (Up)",
            "ccSpecific": {
              "switchType": 2
            },
            "valueChangeOptions": [
              "transitionDuration"
            ],
            "states": {
              "true": "Start",
              "false": "Stop"
            },
            "stateful": true,
            "secret": false
          }
        },
        "6-38-0-Down": {
          "endpoint": 0,
          "commandClass": 38,
          "commandClassName": "Multilevel Switch",
          "property": "Down",
          "propertyName": "Down",
          "ccVersion": 2,
          "metadata": {
            "type": "boolean",
            "readable": false,
            "writeable": true,
            "label": "Perform a level change (Down)",
            "ccSpecific": {
              "switchType": 2
            },
            "valueChangeOptions": [
              "transitionDuration"
            ],
            "states": {
              "true": "Start",
              "false": "Stop"
            },
            "stateful": true,
            "secret": false
          }
        },
        "6-38-0-duration": {
          "endpoint": 0,
          "commandClass": 38,
          "commandClassName": "Multilevel Switch",
          "property": "duration",
          "propertyName": "duration",
          "ccVersion": 2,
          "metadata": {
            "type": "duration",
            "readable": true,
            "writeable": false,
            "label": "Remaining duration",
            "stateful": true,
            "secret": false
          }
        },
        "6-38-0-restorePrevious": {
          "endpoint": 0,
          "commandClass": 38,
          "commandClassName": "Multilevel Switch",
          "property": "restorePrevious",
          "propertyName": "restorePrevious",
          "ccVersion": 2,
          "metadata": {
            "type": "boolean",
            "readable": false,
            "writeable": true,
            "label": "Restore previous value",
            "states": {
              "true": "Restore"
            },
            "stateful": true,
            "secret": false
          }
        },
        "6-50-0-value-65537": {
          "endpoint": 0,
          "commandClass": 50,
          "commandClassName": "Meter",
          "property": "value",
          "propertyKey": 65537,
          "propertyName": "value",
          "propertyKeyName": "Electric_kWh_Consumed",
          "ccVersion": 3,
          "metadata": {
            "type": "number",
            "readable": true,
            "writeable": false,
            "label": "Electric Consumption [kWh]",
            "ccSpecific": {
              "meterType": 1,
              "scale": 0,
              "rateType": 1
            },
            "unit": "kWh",
            "stateful": true,
            "secret": false
          },
          "value": 0.06
        },
        "6-50-0-value-66049": {
          "endpoint": 0,
          "commandClass": 50,
          "commandClassName": "Meter",
          "property": "value",
          "propertyKey": 66049,
          "propertyName": "value",
          "propertyKeyName": "Electric_W_Consumed",
          "ccVersion": 3,
          "metadata": {
            "type": "number",
            "readable": true,
            "writeable": false,
            "label": "Electric Consumption [W]",
            "ccSpecific": {
              "meterType": 1,
              "scale": 2,
              "rateType": 1
            },
            "unit": "W",
            "stateful": true,
            "secret": false
          },
          "value": 0
        },
        "6-50-0-reset": {
          "endpoint": 0,
          "commandClass": 50,
          "commandClassName": "Meter",
          "property": "reset",
          "propertyName": "reset",
          "ccVersion": 3,
          "metadata": {
            "type": "boolean",
            "readable": false,
            "writeable": true,
            "label": "Reset accumulated values",
            "states": {
              "true": "Reset"
            },
            "stateful": true,
            "secret": false
          }
        },
        "6-112-0-1": {
          "endpoint": 0,
          "commandClass": 112,
          "commandClassName": "Configuration",
          "property": 1,
          "propertyName": "State After Power Failure",
          "ccVersion": 1,
          "metadata": {
            "type": "number",
            "readable": true,
            "writeable": true,
            "label": "State After Power Failure",
            "default": 0,
            "min": 0,
            "max": 2,
            "states": {
              "0": "Always off",
              "1": "Always on",
              "2": "Previous state"
            },
            "valueSize": 1,
            "format": 0,
            "allowManualEntry": false,
            "isFromConfig": true
          },
          "value": 2
        },
        "6-112-0-2": {
          "endpoint": 0,
          "commandClass": 112,
          "commandClassName": "Configuration",
          "property": 2,
          "propertyName": "Notification When Load Status Change",
          "ccVersion": 1,
          "metadata": {
            "type": "number",
            "readable": true,
            "writeable": true,
            "description": "The Dimmer will send notification to associated device (Group Lifeline) when the status of Dimmer load is changed.",
            "label": "Notification When Load Status Change",
            "default": 1,
            "min": 0,
            "max": 2,
            "states": {
              "0": "The function is disabled",
              "1": "Send Multilevel Switch Report",
              "2": "Send Multilevel Switch Report only when load status is not changed by Z-Wave command"
            },
            "valueSize": 1,
            "format": 0,
            "allowManualEntry": false,
            "isFromConfig": true
          },
          "value": 0
        },
        "6-112-0-3": {
          "endpoint": 0,
          "commandClass": 112,
          "commandClassName": "Configuration",
          "property": 3,
          "propertyName": "Default Dimming Speed",
          "ccVersion": 1,
          "metadata": {
            "type": "number",
            "readable": true,
            "writeable": true,
            "description": "Configure the default dimming speed: 0 = Instantly, 1 = Fast, 100 = Slow",
            "label": "Default Dimming Speed",
            "default": 5,
            "min": 0,
            "max": 100,
            "unit": "seconds",
            "valueSize": 1,
            "format": 0,
            "allowManualEntry": true,
            "isFromConfig": true
          },
          "value": 20
        },
        "6-112-0-5": {
          "endpoint": 0,
          "commandClass": 112,
          "commandClassName": "Configuration",
          "property": 5,
          "propertyName": "Enable or Disable External Switch to Pair Network",
          "ccVersion": 1,
          "metadata": {
            "type": "number",
            "readable": true,
            "writeable": true,
            "label": "Enable or Disable External Switch to Pair Network",
            "default": 0,
            "min": 0,
            "max": 1,
            "states": {
              "0": "Disable",
              "1": "Enable"
            },
            "valueSize": 1,
            "format": 0,
            "allowManualEntry": false,
            "isFromConfig": true
          },
          "value": 1
        },
        "6-112-0-6": {
          "endpoint": 0,
          "commandClass": 112,
          "commandClassName": "Configuration",
          "property": 6,
          "propertyName": "Dimming Algorithm",
          "ccVersion": 1,
          "metadata": {
            "type": "number",
            "readable": true,
            "writeable": true,
            "description": "Setting dimming way.",
            "label": "Dimming Algorithm",
            "default": 0,
            "min": 0,
            "max": 1,
            "states": {
              "0": "Linear dimming",
              "1": "Logarithmic dimming"
            },
            "valueSize": 1,
            "format": 0,
            "allowManualEntry": false,
            "isFromConfig": true
          },
          "value": 0
        },
        "6-112-0-7": {
          "endpoint": 0,
          "commandClass": 112,
          "commandClassName": "Configuration",
          "property": 7,
          "propertyName": "Default Brightness",
          "ccVersion": 1,
          "metadata": {
            "type": "number",
            "readable": true,
            "writeable": true,
            "description": "Setting default brightness when turn on the dimmer from off status. 0 means that the dimmer will use parameter 1.",
            "label": "Default Brightness",
            "default": 0,
            "min": 0,
            "max": 99,
            "valueSize": 1,
            "format": 0,
            "allowManualEntry": true,
            "isFromConfig": true
          },
          "value": 0
        },
        "6-112-0-8": {
          "endpoint": 0,
          "commandClass": 112,
          "commandClassName": "Configuration",
          "property": 8,
          "propertyName": "Turn Off Delay",
          "ccVersion": 1,
          "metadata": {
            "type": "number",
            "readable": true,
            "writeable": true,
            "description": "Setting delay time when turn off",
            "label": "Turn Off Delay",
            "default": 0,
            "min": 0,
            "max": 60,
            "unit": "seconds",
            "valueSize": 1,
            "format": 0,
            "allowManualEntry": true,
            "isFromConfig": true
          },
          "value": 0
        },
        "6-114-0-manufacturerId": {
          "endpoint": 0,
          "commandClass": 114,
          "commandClassName": "Manufacturer Specific",
          "property": "manufacturerId",
          "propertyName": "manufacturerId",
          "ccVersion": 2,
          "metadata": {
            "type": "number",
            "readable": true,
            "writeable": false,
            "label": "Manufacturer ID",
            "min": 0,
            "max": 65535,
            "stateful": true,
            "secret": false
          },
          "value": 1073
        },
        "6-114-0-productType": {
          "endpoint": 0,
          "commandClass": 114,
          "commandClassName": "Manufacturer Specific",
          "property": "productType",
          "propertyName": "productType",
          "ccVersion": 2,
          "metadata": {
            "type": "number",
            "readable": true,
            "writeable": false,
            "label": "Product type",
            "min": 0,
            "max": 65535,
            "stateful": true,
            "secret": false
          },
          "value": 514
        },
        "6-114-0-productId": {
          "endpoint": 0,
          "commandClass": 114,
          "commandClassName": "Manufacturer Specific",
          "property": "productId",
          "propertyName": "productId",
          "ccVersion": 2,
          "metadata": {
            "type": "number",
            "readable": true,
            "writeable": false,
            "label": "Product ID",
            "min": 0,
            "max": 65535,
            "stateful": true,
            "secret": false
          },
          "value": 2
        },
        "6-134-0-libraryType": {
          "endpoint": 0,
          "commandClass": 134,
          "commandClassName": "Version",
          "property": "libraryType",
          "propertyName": "libraryType",
          "ccVersion": 2,
          "metadata": {
            "type": "number",
            "readable": true,
            "writeable": false,
            "label": "Library type",
            "states": {
              "0": "Unknown",
              "1": "Static Controller",
              "2": "Controller",
              "3": "Enhanced Slave",
              "4": "Slave",
              "5": "Installer",
              "6": "Routing Slave",
              "7": "Bridge Controller",
              "8": "Device under Test",
              "9": "N/A",
              "10": "AV Remote",
              "11": "AV Device"
            },
            "stateful": true,
            "secret": false
          },
          "value": 3
        },
        "6-134-0-protocolVersion": {
          "endpoint": 0,
          "commandClass": 134,
          "commandClassName": "Version",
          "property": "protocolVersion",
          "propertyName": "protocolVersion",
          "ccVersion": 2,
          "metadata": {
            "type": "string",
            "readable": true,
            "writeable": false,
            "label": "Z-Wave protocol version",
            "stateful": true,
            "secret": false
          },
          "value": "6.4"
        },
        "6-134-0-firmwareVersions": {
          "endpoint": 0,
          "commandClass": 134,
          "commandClassName": "Version",
          "property": "firmwareVersions",
          "propertyName": "firmwareVersions",
          "ccVersion": 2,
          "metadata": {
            "type": "string[]",
            "readable": true,
            "writeable": false,
            "label": "Z-Wave chip firmware versions",
            "stateful": true,
            "secret": false
          },
          "value": [
            "1.12"
          ]
        },
        "6-134-0-hardwareVersion": {
          "endpoint": 0,
          "commandClass": 134,
          "commandClassName": "Version",
          "property": "hardwareVersion",
          "propertyName": "hardwareVersion",
          "ccVersion": 2,
          "metadata": {
            "type": "number",
            "readable": true,
            "writeable": false,
            "label": "Z-Wave chip hardware version",
            "stateful": true,
            "secret": false
          },
          "value": 1
        }
      },
      "endpoints": {
        "0": {
          "nodeId": 6,
          "index": 0,
          "installerIcon": 1536,
          "userIcon": 1536,
          "deviceClass": {
            "basic": {
              "key": 4,
              "label": "Routing Slave"
            },
            "generic": {
              "key": 17,
              "label": "Multilevel Switch"
            },
            "specific": {
              "key": 1,
              "label": "Multilevel Power Switch"
            },
            "mandatorySupportedCCs": [
              32,
              38,
              39
            ],
            "mandatoryControlledCCs": []
          },
          "commandClasses": [
            {
              "id": 38,
              "name": "Multilevel Switch",
              "version": 2,
              "isSecure": false
            },
            {
              "id": 94,
              "name": "Z-Wave Plus Info",
              "version": 2,
              "isSecure": false
            },
            {
              "id": 50,
              "name": "Meter",
              "version": 3,
              "isSecure": false
            },
            {
              "id": 112,
              "name": "Configuration",
              "version": 1,
              "isSecure": false
            },
            {
              "id": 133,
              "name": "Association",
              "version": 2,
              "isSecure": false
            },
            {
              "id": 89,
              "name": "Association Group Information",
              "version": 1,
              "isSecure": false
            },
            {
              "id": 85,
              "name": "Transport Service",
              "version": 2,
              "isSecure": false
            },
            {
              "id": 134,
              "name": "Version",
              "version": 2,
              "isSecure": false
            },
            {
              "id": 114,
              "name": "Manufacturer Specific",
              "version": 2,
              "isSecure": false
            },
            {
              "id": 90,
              "name": "Device Reset Locally",
              "version": 1,
              "isSecure": false
            },
            {
              "id": 115,
              "name": "Powerlevel",
              "version": 1,
              "isSecure": false
            },
            {
              "id": 152,
              "name": "Security",
              "version": 1,
              "isSecure": true
            },
            {
              "id": 159,
              "name": "Security 2",
              "version": 1,
              "isSecure": true
            },
            {
              "id": 108,
              "name": "Supervision",
              "version": 1,
              "isSecure": false
            },
            {
              "id": 122,
              "name": "Firmware Update Meta Data",
              "version": 4,
              "isSecure": false
            }
          ]
        }
      }
    }
  }
}

If this is from the PSR04, then it’s using Central Scene events not Basic Set. You can use the documented zwave_js_value_notification event to trigger off of, which is well discussed in these forums. You should also have an event entity for each of the key attributes that is available for state triggers.

Looks like the wrong file? You have posted something for an “ECO-DIM”, not the “PSR04”. If the question is how to use the PSR04, then we need to see that device’s diagnostic.

I’d suggest using one of the many pastebin sites to upload the file to instead and linking to that.

If this is from the PSR04, then it’s using Central Scene events not Basic Set. You can use the documented zwave_js_value_notification event to trigger off of, which is well discussed in these forums. You should also have an event entity for each of the key attributes that is available for state triggers.

Oke thx, i will investigate and read about it

I did post the correct file here, for the first one one indead the dimmer, sorry

I am trying to create a trigger on buttonpush, but its not responding, is there no default template for this device i suppoce?

alias: Woonkamer - Verlichting
description: ""
trigger:
  - platform: event
    event_type: zwave_js_value_updated
    event_data:
      entity_id:
        - event.badkamer_knop_verwarming_scene_001

Or did i not understand correctly?

That’s wrong, look at the docs again. It’s the wrong event type, and there’s no entity_id in the event data. You can find the data in the device diagnostic or use the dev tools event listerner. The example in the docs shows all the available data as well. Something like this:

trigger:
  - platform: event
    event_type: zwave_js_value_notification
    event_data:
      node_id: 3  # or device_id: xyzabcd
      command_class: 91
      property: scene
      property_key: 001
      value: KeyPressed  # or value_raw: 0

Or you can use entity event.badkamer_knop_verwarming_scene_001 as a state trigger, which triggers on the exact same data from above. Your device is using an older version of Central Scene CC, so it cannot report which key presses are supported. I’m not sure what the UI allows for that, here’s what a newer one looks like:

trigger:
  - platform: state
    entity_id:
      - event.scene_capable_fan_control_switch_scene_001
    attribute: event_type
    to: KeyPressed

Or using Value as the attribute, where 0 == KeyPressed.

trigger:
  - platform: state
    entity_id:
      - event.scene_capable_fan_control_switch_scene_001
    attribute: value
    to: "0"

The event trigger is pretty well established, the downside is relying on node_id or device_id. So whichever works/is easiest.