Skip to content

Add TS15(US) device fixture#1649

Merged
rytilahti merged 1 commit intopython-kasa:masterfrom
ZeliardM:feature/new-device-ts15
Jan 26, 2026
Merged

Add TS15(US) device fixture#1649
rytilahti merged 1 commit intopython-kasa:masterfrom
ZeliardM:feature/new-device-ts15

Conversation

@ZeliardM
Copy link
Copy Markdown
Contributor

Add TS15(US) device fixture

Copilot AI review requested due to automatic review settings January 24, 2026 22:14
Copy link
Copy Markdown

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull request overview

This pull request adds fixture support for the TS15(US) wall switch device to enable testing and ensure compatibility with this Tapo smart switch model.

Changes:

  • Added device fixture file for TS15(US) hardware 1.0 with firmware 1.2.2
  • Registered TS15 in the test device categories
  • Updated documentation to reflect TS15 support

Reviewed changes

Copilot reviewed 4 out of 4 changed files in this pull request and generated no comments.

File Description
tests/fixtures/smart/TS15(US)_1.0_1.2.2.json New fixture file containing device response data for TS15(US) switch with hardware version 1.0 and firmware 1.2.2
tests/device_fixtures.py Added "TS15" to SWITCHES_SMART set to enable test parameterization for the new device
SUPPORTED.md Added TS15 entry in Wall Switches section documenting hardware 1.0 (US) with firmware 1.2.2
README.md Added TS15 to the Wall Switches list in the supported Tapo devices section

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

@codecov
Copy link
Copy Markdown

codecov Bot commented Jan 24, 2026

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 92.82%. Comparing base (a87926f) to head (8ac6898).
⚠️ Report is 1 commits behind head on master.

Additional details and impacted files
@@           Coverage Diff           @@
##           master    #1649   +/-   ##
=======================================
  Coverage   92.82%   92.82%           
=======================================
  Files         157      157           
  Lines        9649     9649           
  Branches      976      976           
=======================================
  Hits         8957     8957           
  Misses        492      492           
  Partials      200      200           

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

Copy link
Copy Markdown
Member

@rytilahti rytilahti left a comment

Choose a reason for hiding this comment

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

LGTM, thanks @ZeliardM!

@rytilahti rytilahti added the new device New device supported due to fixture being added label Jan 26, 2026
@rytilahti rytilahti merged commit 25ff697 into python-kasa:master Jan 26, 2026
23 of 24 checks passed
@ZeliardM ZeliardM deleted the feature/new-device-ts15 branch January 26, 2026 22:15
cristian-rincon pushed a commit to cristian-rincon/python-kasa that referenced this pull request Feb 20, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

new device New device supported due to fixture being added

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants