Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Made example.py run without errors - added the iolite directory as an editable dev-dependency, so iolite can be imported without being installed (and without a need to manipulate the path) - changed the environment-accesses to use environs instead of os.getenv * Added black & isort - added black and isort as dev-dependencies to use them in file watchers - as all black releases are pre-releases, a specific version number is required to avoid an error when locking (I chose the latest version) * Added black & isort - added black and isort as dev-dependencies to use them in file watchers - chose isort 4.3.21 to match the pre-commit setup - chose black 20.8.b to match the pre-commit setup - also all black releases are pre-releases, a specific version number is required to avoid an error when locking - added a pyproject.toml to configure isort * Minor refactoring to client - moved place and device response handling into separate methods * Fix isort in pre-commit - added toml as a pre-commit dependency - added toml to pipenv * Added a Heating Scheduler - added a Heating Scheduler object for interaction with the heating intervals endpoint - added helpers to get rooms and entities to the Discovered class, to use these rooms with the Heating Scheduler - added a jupyter notebook to showcase the Heating Scheduler - added tests and extended client tests, for safer refactoring - updated the readme to introduce the Heating Scheduler * Updated lockfile - updated lock file after merge * Removed isort duplicate from pipfile - updated lock file afterwards * Fixed Code Quality issues - added missing spaces to bulletpoints in README.md - suppressed security warning in test_heating_scheduler.py, as the password is hard-coded deliberately and only used to verify that the client encodes a given password correctly * Minor refactorings after Code Review - renamed discovered into discovered_rooms, as only rooms will be stored - refactored Interval min/max temperatures into constatnts - detailed the instructions on how to install jupyter notebook and how to fix a ModuleNotFoundError that may occur when using jupyter from within the venv * Removed fixed python version from pipfile, as it is not available on CI. Co-authored-by: Malachi Soord <inverse.chi@gmail.com>
- Loading branch information