GeezerVisonThe World Wide Web, restored to 800 pixels of glory. | |
| Home|About|Gaming cabinet|Archives|How it works|Starter sites | |
GeezerVison is showing github.com — Add ThermostatSchedule module by o-gent · Pull Request #1816 · python-kasa/python-kasa Conversation
Contributor
Split from #1806. Related to #1601. Adds schedule enable/disable, week-mode selection, paginated schedule reads, and replacement of a day's slots. Preserves schedule_mode during pagination and validates coverage, gaps, overlaps, slot limits, and temperature bounds. Rejects edits outside the active mode. Includes registration, exports, schedule fallbacks, the fake edit handler, and tests. Fixtures are submitted separately. No TPAP changes are included. Validation: schedule, child-device, and common-module tests, Ruff checks, and targeted mypy passed. The original PR documents hardware verification; no new hardware testing was performed during this split.
Sorry, something went wrong. Uh oh!
There was an error while loading. Please reload this page. All reactionsRead and toggle thermostat schedules, select the week mode, and replace a day's slots. Preserve mode-specific pagination and active-mode edit validation. Split from python-kasa#1806 without TPAP changes. Co-authored-by: Copilot <[email protected]>
o-gent
marked this pull request as ready for review
|
There was an error while loading. Please reload this page.
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@ ## master #1816 +/- ## ========================================== + Coverage 93.43% 93.51% +0.08% ========================================== Files 160 161 +1 Lines 10095 10231 +136 Branches 1042 1059 +17 ========================================== + Hits 9432 9568 +136 Misses 471 471 Partials 192 192 ☔ View full report in Codecov by Harness. 🚀 New features to boost your workflow:
|
Sorry, something went wrong.
There was an error while loading. Please reload this page.
There was an error while loading. Please reload this page.
Successfully merging this pull request may close these issues.
There was an error while loading. Please reload this page.