zha-device-handlers
zha-device-handlers copied to clipboard
[Device Support Request] Aqara Light Switch H2 EU
Problem description
Hi requesting to enhance support for the Aqara Light Switch H2 EU (link).
First time posting something like this. I hope I got it right.
I can add it to ZHA and it's recognized as lumi.switch.agl010, but seems there are issues with the current config/support:
Power reading has ~40sec delay, not sure if intended/expected Sumation delivered is stuck on 0.0 kWh Bottom switches are not visible in HA
Only exposed entities are: switches (1, 2), Power, Summation delivered. Looking at the Zigbee2MQTT page it seems there are many other available options: current, energy, led_indicator, flip_indicator_light, switch (state), device_temperature, power_outage_count, power_on_behavior, operation_mode, lock_relay, multi_click, action
Home Assistent version: Core: 2025.3.2 Supervisor: 2025.03.2 Operating System: 14.2 Frontend: 20250306.0
Solution description
Full support of device/fix existing bugs. Possibly mirror Zigbee2MQTT level of support and options.
Screenshots/Video
Screenshots/Video
Device signature
Device signature
{
"node_descriptor": {
"logical_type": 1,
"complex_descriptor_available": 0,
"user_descriptor_available": 0,
"reserved": 0,
"aps_flags": 0,
"frequency_band": 8,
"mac_capability_flags": 142,
"manufacturer_code": 4447,
"maximum_buffer_size": 82,
"maximum_incoming_transfer_size": 82,
"server_mask": 11264,
"maximum_outgoing_transfer_size": 82,
"descriptor_capability_field": 0
},
"endpoints": {
"1": {
"profile_id": "0x0104",
"device_type": "0x0000",
"input_clusters": [
"0x0000",
"0x0003",
"0x0004",
"0x0005",
"0x0006",
"0x0012",
"0x0702",
"0x0b04",
"0xfcc0"
],
"output_clusters": [
"0x000a",
"0x0019"
]
},
"2": {
"profile_id": "0x0104",
"device_type": "0x0000",
"input_clusters": [
"0x0004",
"0x0005",
"0x0006",
"0x0012",
"0xfcc0"
],
"output_clusters": []
},
"3": {
"profile_id": "0x0104",
"device_type": "0x0000",
"input_clusters": [
"0xfcc0"
],
"output_clusters": []
},
"4": {
"profile_id": "0x0104",
"device_type": "0x0000",
"input_clusters": [
"0x0012",
"0xfcc0"
],
"output_clusters": []
},
"5": {
"profile_id": "0x0104",
"device_type": "0x0000",
"input_clusters": [
"0x0012",
"0xfcc0"
],
"output_clusters": []
},
"21": {
"profile_id": "0x0104",
"device_type": "0x0000",
"input_clusters": [
"0x000c"
],
"output_clusters": []
}
},
"manufacturer": "Aqara",
"model": "lumi.switch.agl010",
"class": "zigpy.device.Device"
}
Diagnostic information
Diagnostic information
[Paste the diagnostic information here]
Logs
Logs
[Paste the logs here]
Custom quirk
Custom quirk
[Paste your custom quirk here]
Additional information
No response