javicalle

Results 408 comments of javicalle

So here we have a new `TS0002` flavor... Can you try with that quirk? ```python class Switch_2G_Metering(EnchantedDevice, CustomDevice): """Tuya 2 gang switch module with power metering.""" signature = { MODEL:...

Probably you will need to remove the device from HA and pair it again.

If you can enable the debug logs, attach any relevant info from your device (filter with the device Nwk: 0xeed5): * https://www.home-assistant.io/integrations/zha/#debug-logging

The signature can match to any of that quirks: * SiterwellGS361_Type2 * MoesHY368_Type1 * _TZE200_b6wax7g0 * ZonnsmartTV01_ZG * Thermostat_TZE200_c88teujp

There is a good guide to create your local quirk: * https://github.com/zigpy/zha-device-handlers/discussions/693#discussioncomment-857274 You need to copy the `ts0601_trv.py` file to your local zha_quirk folder and edit the content: * https://github.com/zigpy/zha-device-handlers/blob/dev/zhaquirks/tuya/ts0601_trv.py...

> Thanx for tips not having more than one local quirk and device ID You can copy both files in your local quirk folder and just add your manufacturer ID...

It seems that the working Z2M version could be this one: * https://github.com/twhittock/avatto_me167/blob/main/me167.js The DPs seems very diferents from the current Tuya TRV quirks. That would need a few work...

> the temperature setpoint and mode setting is not yet working properly I'm not familiar with all the TRV implementations, but I believe that first you need to uncomment/implement the...

~~Maybe you can try with:~~ (no, you can't. see: https://github.com/zigpy/zha-device-handlers/issues/1442#issuecomment-1076863920) ```python class ChildLock(t.Bool): """Tuya child lock states.""" LOCK = True # maybe 1 or 0x01 UNLOCK = False # maybe...

It seems that `Bool` can't be extended. You can keep the definition without the auxiliar class or try with something like: ```python class ChildLock(t.uint8_t): """Tuya power on state enum.""" LOCK...