So I took tube’s advice and listened to the zha_event stream. The brightness up and brightness down buttons on the remote trigger the following event
Pressing brighten button:
Event 28 fired 5:06 PM:
{
"origin": "LOCAL",
"data": {
"args": [
1,
50
],
"command": "move_with_on_off",
"unique_id": "0xb760:3:0x0008",
"device_ieee": "00:0d:6f:00:0f:d8:57:c3"
},
"time_fired": "2019-05-06T21:06:44.493148+00:00",
"event_type": "zha_event",
"context": {
"user_id": null,
"parent_id": null,
"id": "61a50ac23b8d42c9b885a5b75ecf02c1"
}
}
Releasing brighten button:
Event 29 fired 5:06 PM:
{
"origin": "LOCAL",
"data": {
"args": [],
"command": "stop",
"unique_id": "0xb760:3:0x0008",
"device_ieee": "00:0d:6f:00:0f:d8:57:c3"
},
"time_fired": "2019-05-06T21:06:45.155824+00:00",
"event_type": "zha_event",
"context": {
"user_id": null,
"parent_id": null,
"id": "1163672ff5cd4a939b94a899ac8275d5"
}
}
I can change the unique_id value (3 above) to 1,2,3, or 4 depending on the button I press immediately before hitting the dim or brighten button (e.g., “unique_id”: “0xb760:3:0x0008” becomes “unique_id”: “0xb760:2:0x0008”).
The binary sensors I have set up trigger the following event with the difference that off and on swap as the binary_sensor is toggled.
Event 33 fired 5:14 PM:
{
"origin": "LOCAL",
"data": {
"args": [],
"command": "off",
"unique_id": "0xb760:1:0x0006",
"device_ieee": "00:0d:6f:00:0f:d8:57:c3"
},
"time_fired": "2019-05-06T21:14:45.430644+00:00",
"event_type": "zha_event",
"context": {
"user_id": null,
"parent_id": null,
"id": "c4b1abdaf2d74888b0a5742a914fc0a7"
}
}
The remaining buttons don’t trigger any zha_event. Any suggestions for how to go about remapping these functions to change the move_with_on_off to another command and have it effect difference lights depending on the unique_id? Also… am I out of luck if I don’t observe zha_events for the other buttons? There are quite a few other buttons on the remote I’d like to utilize.