Skip to content

Conversation

@bexelbie
Copy link

Proposed change

Add quirk for the Nous E10 (_TZE284_xpvamyfz / TS0601) which provides CO2, temperature, and humidity measurements using the TuyaQuirkBuilder v2 API.

Sensors:

  • CO2 concentration (DP 2, ppm)
  • Temperature (DP 18, °C, signed for negative values)
  • Humidity (DP 19, %)

Additional information

  • This is my first time trying to do this - feedback welcome and appreciated.
  • Tests are minimal but it isn't clear to me what else to test - examples welcome
  • This code is working in my HA instance with the device

Device diagnostics

zha-2b5da96179570b3038c5dfdb61f698d8-_TZE284_xpvamyfz TS0601-9eae19e47cbad4e60c376b24b5c0679b.json

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
  • Device diagnostics data has been attached

Add quirk for the Nous E10 (_TZE284_xpvamyfz / TS0601) which provides
CO2, temperature, and humidity measurements using the TuyaQuirkBuilder v2 API.

Sensors:
- CO2 concentration (DP 2, ppm)
- Temperature (DP 18, °C, signed for negative values)
- Humidity (DP 19, %)
@codecov
Copy link

codecov bot commented Dec 23, 2025

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 92.28%. Comparing base (35d1fc1) to head (2799bdf).

Additional details and impacted files
@@           Coverage Diff           @@
##              dev    #4597   +/-   ##
=======================================
  Coverage   92.28%   92.28%           
=======================================
  Files         371      372    +1     
  Lines       12158    12162    +4     
=======================================
+ Hits        11220    11224    +4     
  Misses        938      938           

☔ 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.

@direc85
Copy link

direc85 commented Jan 1, 2026

I can confirm that the quirk works. I installed it and after restarting HA the device page now shows CO2, humidity and temperature readings (and they are equal to what the device display shows).

Thank you for making the quirk! Let's hope it gets merged soon :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants