javicalle
javicalle
It seems that you have a wrong class anywhere. I would bet that your quirk is importing a `zhaquirks.tuya.mcu` class, can be? Maybe some tests with the `TuyaOnOff` from mcu?
I believe that there is something wrong here: https://github.com/zigpy/zha-device-handlers/blob/f2822031a464bfdf766dfccebf667a502622ebbb/zhaquirks/tuya/__init__.py#L532-L534 @flaktivated, do you have the `tuya/__init__.py` file in your local quirk folder?
I believe that the problem has been addressed in the mainstream but you have to wait to the next version or try to implement the changes in your environment (but...
Thanks to you for your work 👍🏻
Please, edit your first post and try to fix your code format. Put the code inside the ` ``` ` marks and don't remove any breakline: ```` Device signature ```yaml...
I believe that the current (`A`) can be fixed just setting a value to the `ac_current_divisor (id: 0x0603)` from the `ElectricalMeasurement (Endpoint id: 1, Id: 0x0b04, Type: in)` cluster. First...
You would need enable the local quirk configuration. There are some info for example here: * https://github.com/zigpy/zha-device-handlers/discussions/693#discussioncomment-857274 Once configured, copy the current `ts011f_plug.py` file inside the `custom_zha_quirks` folder: * https://github.com/zigpy/zha-device-handlers/blob/dev/zhaquirks/tuya/ts011f_plug.py...
Upssss, my fault. Change the `TuyaZBE000Cluster` for the `TuyaZBExternalSwitchTypeCluster`. Already updated in my comment.
Double check if there is a `__pycache__` folder in your local quirk folder and delete it before restart HA.
We will need more information about what is working and what isn't. At least the diagnosis information from the device and the current and expected values for the rogue entities.