Skip to content

Add Tuya temperature sensor _TZE284_yjjdcqsq variant #4060

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
May 19, 2025

Conversation

Axeman72
Copy link
Contributor

@Axeman72 Axeman72 commented May 10, 2025

Proposed change

Added support for a new TS601 Temperature / humidity sensor with different signature

Additional information

I buy the same sensors from the same vendor. Last batch (same shape, same part number, same box) arrived with the _TZE284_yjjdcqsq instead of _TZE204_yjjdcqsq or _TZE200_yjjdcqsq.
I changed this file on my Home Assistant staging environment to confirm that the sensor works like the previous ones by adding only the "applies_to" line, and it works.

Checklist

  • The changes are tested and work correctly
  • pre-commit checks pass / the code has been formatted using Black
  • Tests have been added to verify that the new code works

Copy link

codecov bot commented May 10, 2025

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 91.19%. Comparing base (5556090) to head (df5b0b3).
Report is 1 commits behind head on dev.

Additional details and impacted files
@@           Coverage Diff           @@
##              dev    #4060   +/-   ##
=======================================
  Coverage   91.19%   91.19%           
=======================================
  Files         335      335           
  Lines       10886    10886           
=======================================
  Hits         9928     9928           
  Misses        958      958           

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@TheJulianJES TheJulianJES changed the title New TS0601 Temp/Humidity sensor with slightly different signature. Add Tuya temperature sensor _TZE284_yjjdcqsq variant May 19, 2025
@TheJulianJES TheJulianJES added the Tuya Request/PR regarding a Tuya device label May 19, 2025
Copy link
Collaborator

@TheJulianJES TheJulianJES left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks!

@TheJulianJES TheJulianJES merged commit f738104 into zigpy:dev May 19, 2025
9 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Tuya Request/PR regarding a Tuya device
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants