jacekk015 / zha_quirks

All quirks in one place
MIT License
144 stars 20 forks source link

How to exclude/remove device from quirk #50

Closed QuAzI closed 8 months ago

QuAzI commented 8 months ago

After TS0601 TZE200_p3dbf6qs I bought Moes TRV HY368 (aka TS0601 TZE200_cpmgn2cf ) which was described by some people as working fine in HASS out of the box.

Moes TRV HY368

But even after I removed zha quirks from configuration.yaml, removed entire ./custom_zha_quirks/ and restarted host device still detected with Quirk even if I removed and added device again. image

So how can I exclude quirks for this device?

jacekk015 commented 8 months ago

You can't That device must have quirk to operate. If you remove custom_zha_quirks then you're using quirk made by devs of ZHA or Community and it's embedded into your HA That one exactly: https://github.com/zigpy/zha-device-handlers/blob/master/zhaquirks/tuya/ts0601_trv.py#L1529

QuAzI commented 8 months ago

Thanks. I found it in docker container /usr/local/lib/python3.12/site-packages/zhaquirks/tuya/ts0601_trv.py How can I understand which one quirk (embedded or custom_zha_quirks) currently used for a specific device?

jacekk015 commented 8 months ago

You've marked it yourself. zhaquirks on the front mean embedded quirk. For custom, you will see a filename there.

QuAzI commented 8 months ago

Thanks a lot