-
Notifications
You must be signed in to change notification settings - Fork 61
Open
Description
Summary
The manufacturerspecific.py file contains hardcoded ZCL_INIT_ATTRS for lumi.airrtc.agl001 (Aqara E1 TRV) that creates duplicate entities when used alongside the quirk in zha-device-handlers.
Location
zha/zigbee/cluster_handlers/manufacturerspecific.py lines ~128-141:
elif self.cluster.endpoint.model == "lumi.airrtc.agl001":
self.ZCL_INIT_ATTRS = {
"system_mode": True,
"preset": True,
"window_detection": True,
"valve_detection": True,
"valve_alarm": True,
"child_lock": True,
"away_preset_temperature": True,
"window_open": True,
"calibrated": True,
"schedule": True,
"sensor": True,
}Problem
Users see duplicate entities:
- Legacy entities created by this hardcoded config (German translations from HA core)
- Quirk-defined entities from zha-device-handlers (English names from quirk)
Proposed Solution
Remove this elif block once the improved quirk is merged in zigpy/zha-device-handlers#4604.
Related
- Migrate Aqara E1 TRV (AGL001) to QuirkBuilder v2 API zha-device-handlers#4604 - Improved Aqara E1 TRV quirk with proper entity definitions
Metadata
Metadata
Assignees
Labels
No labels