Skip to content

Add _TZ3000_uwkja6z1 (Nous A4Z Outdoor Smart Socket) #3937

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

Open
wants to merge 4 commits into
base: dev
Choose a base branch
from

Conversation

neoscaler
Copy link

@neoscaler neoscaler commented Mar 7, 2025

Proposed change

Added a quirk to fix electric measurement, metering and duplicated values for the Nous A4Z Outdoor 2 smart socket.

Additional information

closes #3094
Could not add it as v2 quirk (see commit history), as there the data was not pulled anymore, only once after restart. All entities looked OK, but were not refreshed anymore.

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 Mar 7, 2025

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 91.00%. Comparing base (b87ac89) to head (0b911a4).
Report is 40 commits behind head on dev.

Additional details and impacted files
@@           Coverage Diff           @@
##              dev    #3937   +/-   ##
=======================================
  Coverage   91.00%   91.00%           
=======================================
  Files         328      328           
  Lines       10656    10656           
=======================================
  Hits         9698     9698           
  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.

@neoscaler neoscaler marked this pull request as draft March 7, 2025 16:36
@neoscaler
Copy link
Author

Just noticed that after rewriting it as v2 quirk, the fixed electric measurement data is not pulled anymore, only once after restarting HA. The same quirk in v1 (see history) worked flawless.

Anybody any idea what could be the cause for this?

@neoscaler neoscaler marked this pull request as ready for review March 10, 2025 20:17
@TheJulianJES TheJulianJES added the Tuya Request/PR regarding a Tuya device label Mar 22, 2025
@neoscaler
Copy link
Author

It's working without problems in the current v1 version. Ready to merge.

@TheJulianJES TheJulianJES added the needs reviewer answer An answer from a reviewer is needed (e.g. why a PR isn't acceptable in the current state). label May 25, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
needs reviewer answer An answer from a reviewer is needed (e.g. why a PR isn't acceptable in the current state). Tuya Request/PR regarding a Tuya device
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Support for NOUS a4z (_TZ3000_uwkja6z1)
2 participants