It was previously working, prior to installing the latest Shims update (V0.4.x) and reflashing my CC2531.
The switch presses are detected by Zigbee2MQTT, e.g.:
Zigbee2MQTT:info 2020-12-28 11:43:24: MQTT publish: topic 'zigbee2mqtt/Aqara_double_rocker_1', payload '{"action":"single_left","battery":100,"click":"left","last_seen":"2020-12-28T11:43:24+00:00","linkquality":52,"voltage":3005}'
Zigbee2MQTT:info 2020-12-28 11:49:34: MQTT publish: topic 'zigbee2mqtt/Aqara_double_rocker_1', payload '{"action":"hold_right","battery":100,"click":"right_long","last_seen":"2020-12-28T11:49:34+00:00","linkquality":92,"voltage":3005}'
The Shims definition is as follows:
message_type: '##aqara_double_rocker_1##'
props:
SupportsBatteryLevel: true
battery_payload_key: battery
configDone: true
reports_battery_status: true
state_dict_payload_key: .
state_location: payload
state_location_payload_type: json
uid_location: topic
uid_location_topic_field: '1'
trigger:
match_list: '["Match: zigbee2mqtt", "Match: Aqara_double_rocker_1"]'
queueMessage: true
type: shimGeneric
Here is what the device looks like:
The last_seen and linkquality seem out of kilter?
The triggers I had set-up to detect events on this device seem to have reverted to checking against the battery.
I have no doubt it is something I have done but can't immediately see what it is.