Replies: 1 comment
-
If you look at the IasZone.cluster_id,
PowerConfiguration.cluster_id,
Identify.cluster_id, The duplicate class name isn't an issue, because it's Python and the files/modules are called differently. So the two files/modules are for different sensors (which have the same model ID). I'd guess one of them is running a newer firmware version. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
There are two files in the directory zhaquirks/xiaomi/aqara.
Being motion_aq2.py and aq2b.py.
The class name in the two files is the same (MotionAQ2)
https://github.com/zigpy/zha-device-handlers/blob/dev/zhaquirks/xiaomi/aqara/motion_aq2.py#L34
https://github.com/zigpy/zha-device-handlers/blob/dev/zhaquirks/xiaomi/aqara/motion_aq2b.py#L30
The MODELS_INFO for the two is that same.
I'm still new in this repo, but wondering if the same class naming is not an error?
Br
Beta Was this translation helpful? Give feedback.
All reactions