[BUG] IKEA E1812 shortcut button does not use quirks
See original GitHub issueDescribe the bug
I have two IKEA E1812 Tradfri shortcut buttons that started to behave differently. ZHA claims that they have the same firmware (I also bought them together), but they now have different clusters: The one that is not picked up correctly has an extra in_cluster
with ID 0xfc7c in its device signature. This causes zhaquirks.ikea.shortcutbtn.IkeaTradfriShortcutBtn
to not pick this button up, producing a Fail because input cluster mismatch on at least one endpoint message in the log.
The zha_event
still fires as it should, so by using the raw event one can work around this, but maybe there’s a way to get the quirks to work.
To Reproduce
- pair a shortcut button that has the 0xfc7c input cluster
- go to the device page and see that no quirks are applied
- try to add an automation, see that triggers for button press are missing
(Unfortunately I have no clue what caused the two buttons to present different signatures)
Expected behavior The quirks should still apply
Additional context signature of the button with the extra cluster (this is the only difference between my buttons) EDIT: The WindowCovering output cluster is also missing on the weird button
{
"node_descriptor": "NodeDescriptor(logical_type=<LogicalType.EndDevice: 2>, complex_descriptor_available=0, user_descriptor_available=0, reserved=0, aps_flags=0, frequency_band=<FrequencyBand.Freq2400MHz: 8>, mac_capability_flags=<MACCapabilityFlags.AllocateAddress: 128>, manufacturer_code=4476, maximum_buffer_size=82, maximum_incoming_transfer_size=82, server_mask=11264, maximum_outgoing_transfer_size=82, descriptor_capability_field=<DescriptorCapability.NONE: 0>, *allocate_address=True, *is_alternate_pan_coordinator=False, *is_coordinator=False, *is_end_device=True, *is_full_function_device=False, *is_mains_powered=False, *is_receiver_on_when_idle=False, *is_router=False, *is_security_capable=False)",
"endpoints": {
"1": {
"profile_id": 260,
"device_type": "0x0820",
"in_clusters": [
"0x0000",
"0x0001",
"0x0003",
"0x0009",
"0x0020",
"0x1000",
"0xfc7c"
],
"out_clusters": [
"0x0003",
"0x0004",
"0x0006",
"0x0008",
"0x0019",
"0x1000"
]
}
},
"manufacturer": "IKEA of Sweden",
"model": "TRADFRI SHORTCUT Button",
"class": "zigpy.device.Device"
}
Issue Analytics
- State:
- Created 2 years ago
- Reactions:1
- Comments:13 (8 by maintainers)
Top GitHub Comments
The fixed quirk does fix my buttons not registering press events with HA after they were updated to 2.3.080.
shortcutbtn_extracluster_fixed.zip