The below is what I’m getting after enabling debugging, after a double-click with the “on” button.
It seems that there’s no sign of a double-click action in the logs, other than registering literally 2 presses.
info 2024-10-15 21:41:58z2m:mqtt: MQTT publish: topic 'zigbee2mqtt/Dimmer Study', payload '{"action":"on_press","battery":100,"linkquality":145,"update":{"installed_version":33565954,"latest_version":33565954,"state":"idle"},"update_available":null}'
info 2024-10-15 21:41:58z2m:mqtt: MQTT publish: topic 'zigbee2mqtt/Dimmer Study', payload '{"action":"","battery":100,"linkquality":145,"update":{"installed_version":33565954,"latest_version":33565954,"state":"idle"},"update_available":null}'
info 2024-10-15 21:41:58z2m:mqtt: MQTT publish: topic 'zigbee2mqtt/Dimmer Study/action', payload 'on_press'
info 2024-10-15 21:41:58z2m:mqtt: MQTT publish: topic 'zigbee2mqtt/Dimmer Study', payload '{"action":"on_press_release","battery":100,"linkquality":145,"update":{"installed_version":33565954,"latest_version":33565954,"state":"idle"},"update_available":null}'
info 2024-10-15 21:41:58z2m:mqtt: MQTT publish: topic 'zigbee2mqtt/Dimmer Study', payload '{"action":"","battery":100,"linkquality":145,"update":{"installed_version":33565954,"latest_version":33565954,"state":"idle"},"update_available":null}'
info 2024-10-15 21:41:58z2m:mqtt: MQTT publish: topic 'zigbee2mqtt/Dimmer Study/action', payload 'on_press_release'
info 2024-10-15 21:41:58z2m:mqtt: MQTT publish: topic 'zigbee2mqtt/Dimmer Study', payload '{"action":"on_press","battery":100,"linkquality":145,"update":{"installed_version":33565954,"latest_version":33565954,"state":"idle"},"update_available":null}'
info 2024-10-15 21:41:58z2m:mqtt: MQTT publish: topic 'zigbee2mqtt/Dimmer Study', payload '{"action":"","battery":100,"linkquality":145,"update":{"installed_version":33565954,"latest_version":33565954,"state":"idle"},"update_available":null}'
info 2024-10-15 21:41:58z2m:mqtt: MQTT publish: topic 'zigbee2mqtt/Dimmer Study/action', payload 'on_press'
info 2024-10-15 21:41:58z2m:mqtt: MQTT publish: topic 'zigbee2mqtt/Dimmer Study', payload '{"action":"on_press_release","battery":100,"linkquality":145,"update":{"installed_version":33565954,"latest_version":33565954,"state":"idle"},"update_available":null}'
info 2024-10-15 21:41:58z2m:mqtt: MQTT publish: topic 'zigbee2mqtt/Dimmer Study', payload '{"action":"","battery":100,"linkquality":145,"update":{"installed_version":33565954,"latest_version":33565954,"state":"idle"},"update_available":null}'
info 2024-10-15 21:41:58z2m:mqtt: MQTT publish: topic 'zigbee2mqtt/Dimmer Study/action', payload 'on_press_release'
Thanks for the GitHub link - that’s exactly what I’m trying to achieve too.