Configuring custom quirks

Hi guys, I have an power sensor (Zemismart SPM01) and it is working in Z2M but presenting instabilities. So I’ve decided to usa ZHA, but I discovered it’s incompatible.
Then I found some a possible solutions which is quirks but I can’t make it work.

Quirks:
https://github.com/zigpy/zha-device-handlers/commit/719490a2fda71ca790252e952224583cb090aa6e
https://github.com/agocsdaniel/zha-device-handlers/blob/4ce2de5f38bc24b2ee462d3cffa8252e572cb228/zhaquirks/tuya/ts0601_din_power.py

Device model according the manufacturer

image

Type and class are empity

image

image

So I’ve created the file as recommended

image

Home Assistant found the quirks (I guess) but it doesn’t work

Can someone help me solve this situation?

It was from there I found the information to start my journey but no success.
Thanks!

Did you tell HA where the quirks are in configuration.yaml?

zha:
  custom_quirks_path: /config/custom_zha_quirks/

If a quirk has been successfully applied it should appear in Device info:

image

I found my mistake… It was a single different digit um manufacturer number. It is already working fine! Thanks for answering!