javicalle

Results 408 comments of javicalle

> I seem to be able to get the attribute value for child lock but not set it. Which value are you trying to set? I would try with 1/0...

Can you try with True/False? If it's not working, change the declaration to: ```python attributes.update({0x8000: ("child_lock", t.Bool)}) ``` and try again with 0/1 and True/False

Also with the code changed? Have you deleted the python cache (`__pycache__` folder)? Can you enable the `zigpy.zcl` debug logs?

These logs are diferent. Good. Have you tried with `True` and `False` values? > Can you enable the `zigpy.zcl` debug logs? Any of these logs in your traces?

> Can you try with True/False? > > If it's not working, change the declaration to: > > ```python > attributes.update({0x8000: ("child_lock", t.Bool)}) > ``` > > and try again...

I have reviewed it again and I believe that it must to work with a helper class. Could you try again with this code: ```python class ChildLock(t.Bool): """Tuya child lock...

Maybe you can try with the `EnchantedDevice` class: 1. Import the class ```python from zhaquirks.tuya.mcu import EnchantedDevice ``` 2. Add it in the class definition: ```python class TuyaTempHumiditySensor(EnchantedDevice, CustomDevice): """Custom...

A few comments. Have you tried to remove the device from HA and pires it again? We want to fire the `bind` process here. According to Z2M `dp=12` is the...

Related to: #1566 That will need a major change in Tuya handler. I will try to check in the weekend