zigpy / zha-device-handlers

ZHA device handlers bridge the functionality gap created when manufacturers deviate from the ZCL specification, handling deviations and exceptions by parsing custom messages to and from Zigbee devices.
Apache License 2.0
683 stars 633 forks source link

[BUG] Tuya TY0201 Temperature/Humidity sensor does not work #3230

Open vJan00 opened 6 days ago

vJan00 commented 6 days ago

Bug description

I have tested the Quirk which was merged by #3201 and it does not work with my TY0201 _TZ3000_bjawzodf! It does not show humidity, nor the temperature, which it showed without the Quirk. Based on other Quirks I have developed my own Quirk for TY0201 _TZ3000_bjawzodf, which works without problems. This should be integrated as V2.

Steps to reproduce

Try to pair the TY0201 _TZ3000_bjawzodf and read temperature or humidity sensor (both doesn't show up).

Expected behavior

Pairing the TY0201 _TZ3000_bjawzodf which results in temperature and humidity sensor showing up.

Screenshots/Video

No response

Device signature

No response

Diagnostic information

No response

Logs

No response

Additional information

No response

vJan00 commented 6 days ago

@philippedeswert would it be possible you can test the updated ty0201.py too? :)

philippedeswert commented 6 days ago

@philippedeswert would it be possible you can test the updated ty0201.py too? :)

Sure, I was planning to do the v2 rewrite myself this weekend as I was getting an extra HA setup so I did not need to mess with my "production" setup to test things.