Skip to content

Conversation

Alokin90
Copy link

@Alokin90 Alokin90 commented Sep 1, 2025

Adds config entities for Backlight mode and Power on state to TuyaDoubleNoNeutralSwitch_2

Proposed change

TUYA_PLUG_ONOFF is needed to have some configuration entities to show.
These work (at least) on my device

Additional information

Configuration entities in the UI were missing.
With this, Backlight mode and Power on state are made available.

Device diagnostics

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

Adds config entities for Backlight mode and Power on state to TuyaDoubleNoNeutralSwitch_2
Copy link

codecov bot commented Sep 1, 2025

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 92.13%. Comparing base (f11926e) to head (78bf895).
⚠️ Report is 4 commits behind head on dev.

Additional details and impacted files
@@           Coverage Diff           @@
##              dev    #4303   +/-   ##
=======================================
  Coverage   92.12%   92.13%           
=======================================
  Files         358      358           
  Lines       11918    11920    +2     
=======================================
+ Hits        10980    10982    +2     
  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.

@Alokin90 Alokin90 changed the title Update ts001x.py Improve support for Tuya ts001x wall switches Sep 4, 2025
@Alokin90 Alokin90 changed the title Improve support for Tuya ts001x wall switches Improve support for Tuya TS0012 wall switches Sep 13, 2025
@TheJulianJES TheJulianJES added Tuya Request/PR regarding a Tuya device needs review This PR should be reviewed soon, as it generally looks good. labels Sep 24, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
needs review This PR should be reviewed soon, as it generally looks good. Tuya Request/PR regarding a Tuya device
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants