Closed cgtobi closed 2 months ago
This pull request enhances schedule handling and cooling functionality in the pyatmo library. It introduces new properties and methods for better management of schedules, improves type hinting, and removes unnecessary comments. The changes also include updates to constants, error handling, and minor refactoring across multiple files.
Change | Details | Files |
---|---|---|
Enhanced schedule handling with new ScheduleType enum and related properties |
|
src/pyatmo/schedule.py src/pyatmo/home.py |
Improved cooling functionality and HVAC action determination |
|
src/pyatmo/room.py src/pyatmo/const.py |
Refactored and improved type hinting across multiple files |
|
src/pyatmo/modules/module.py src/pyatmo/account.py src/pyatmo/auth.py src/pyatmo/modules/base_class.py src/pyatmo/helpers.py src/pyatmo/modules/device_types.py src/pyatmo/modules/netatmo.py |
Updated constants and removed redundant definitions |
|
src/pyatmo/const.py |
Minor improvements and updates |
|
.pre-commit-config.yaml fixtures/homesdata.json tests/testing_main_template.py |
Summary by Sourcery
Enhance the schedule handling and cooling features by introducing new properties and methods for managing boiler status, setpoint modes, and HVAC actions. Implement a new ScheduleType enum and improve schedule selection logic. Refactor code for better readability and update pre-commit configuration.
New Features:
Enhancements:
Build:
Tests: