I have a brand new VZW31-SN which I have connected to a White Series aux switch. Enabling the Aux Switch Scene
mode, I am seeing the distinct Central Scene 004-006 events from the aux switch working great!
One small enhancement I wanted to request: I see the Central Scene values come through, but my zwave-js/home-assistant events aren’t being mapped to the typical event states: CentralSceneKeys. Instead, I only see the raw values 0
, 3
, 4
etc. It is easy enough to reverse engineer these, but it breaks some of my Home Assistant automations.
Looking at the device’s debug info in zwave-js, I see the main Scene 001-003 from the main switch have value to state mappings, e.g.:
{
"id": "11-91-0-scene-002",
"nodeId": 11,
"toUpdate": false,
"commandClass": 91,
"commandClassName": "Central Scene",
"endpoint": 0,
"property": "scene",
"propertyName": "scene",
"propertyKey": "002",
"propertyKeyName": "002",
"type": "number",
"readable": true,
"writeable": false,
"label": "Scene 002",
"stateless": false,
"commandClassVersion": 3,
"min": 0,
"max": 255,
"list": true,
"states": [
{
"text": "KeyPressed",
"value": 0
},
{
"text": "KeyReleased",
"value": 1
},
{
"text": "KeyHeldDown",
"value": 2
},
{
"text": "KeyPressed2x",
"value": 3
},
{
"text": "KeyPressed3x",
"value": 4
},
{
"text": "KeyPressed4x",
"value": 5
},
{
"text": "KeyPressed5x",
"value": 6
}
]
},
However, when I look at Scene 004-006 for the Aux Switch Scenes, the states aren’t there, e.g.:
{
"id": "11-91-0-scene-005",
"nodeId": 11,
"toUpdate": false,
"commandClass": 91,
"commandClassName": "Central Scene",
"endpoint": 0,
"property": "scene",
"propertyName": "scene",
"propertyKey": "005",
"propertyKeyName": "005",
"type": "number",
"readable": true,
"writeable": false,
"label": "Scene 005",
"stateless": true,
"commandClassVersion": 3,
"min": 0,
"max": 255,
"list": false,
"lastUpdate": 1689039910040
},
I am not sure where these states come from, but searching the zwave-js source, I suspect this is supplied from the device’s firmware? If yes, is it possible to add the value states on the aux switch scenes too?
Thanks!