zigpy / zha-device-handlers

ZHA device handlers bridge the functionality gap created when manufacturers deviate from the ZCL specification, handling deviations and exceptions by parsing custom messages to and from Zigbee devices.
Apache License 2.0
731 stars 673 forks source link

[Device Support Request] DOUBLE_PRESS not supported for lumi.ctrl_ln1.aq1 #2148

Open maurobaluda opened 1 year ago

maurobaluda commented 1 year ago

Is your feature request related to a problem? Please describe. DOUBLE_PRESS not supported for lumi.ctrl_ln1.aq1

Describe the solution you'd like The feature works in in the 2-button variant lumi.ctrl_ln2.aq1

Device signature ```yaml { "node_descriptor": "NodeDescriptor(logical_type=, complex_descriptor_available=0, user_descriptor_available=0, reserved=0, aps_flags=0, frequency_band=, mac_capability_flags=, manufacturer_code=4447, maximum_buffer_size=127, maximum_incoming_transfer_size=100, server_mask=0, maximum_outgoing_transfer_size=100, descriptor_capability_field=, *allocate_address=True, *is_alternate_pan_coordinator=False, *is_coordinator=False, *is_end_device=False, *is_full_function_device=True, *is_mains_powered=True, *is_receiver_on_when_idle=True, *is_router=True, *is_security_capable=False)", "endpoints": { "1": { "profile_id": 260, "device_type": "0x0051", "in_clusters": [ "0x0000", "0x0001", "0x0002", "0x0003", "0x0004", "0x0005", "0x0006", "0x000a", "0x0010" ], "out_clusters": [ "0x000a", "0x0019" ] }, "2": { "profile_id": 260, "device_type": "0x0009", "in_clusters": [ "0x000c" ], "out_clusters": [ "0x0004", "0x000c" ] }, "3": { "profile_id": 260, "device_type": "0x0053", "in_clusters": [ "0x000c" ], "out_clusters": [ "0x000c" ] }, "5": { "profile_id": 260, "device_type": "0x0000", "in_clusters": [ "0x0010", "0x0012" ], "out_clusters": [] } }, "manufacturer": "LUMI", "model": "lumi.ctrl_ln1.aq1", "class": "zigpy.device.Device" } ```
TheJulianJES commented 1 year ago

It's possible that this signature just needs to be added in: https://github.com/zigpy/zha-device-handlers/blob/dev/zhaquirks/xiaomi/aqara/ctrl_ln.py

mbaluda-ms commented 1 year ago

Any progress on this issue? I have some automation relying on the feature and I'd be happy to test any fix... thanks

mbaluda-ms commented 1 year ago

@TheJulianJES can you detail a bit more how the signature should be added? lumi.ctrl_ln2.aq1 is already listed

github-actions[bot] commented 3 months ago

There hasn't been any activity on this issue recently. Due to the high number of incoming GitHub notifications, we have to clean some of the old issues, as many of them have already been resolved with the latest updates. Please make sure to update to the latest version and check if that solves the issue. Let us know if that works for you by adding a comment 👍 This issue has now been marked as stale and will be closed if no further activity occurs. Thank you for your contributions.

maurobaluda commented 3 months ago

The problem is still there. The double-press event used to work, but stopped being supported over a year ago.