2.0.0
Bug Fixes
- fixed code for calculating next weekday for runtime #291 (Tomer Figenblat)
- cleanup control_device script #291 (Tomer Figenblat)
- creating a schedule can now handle no days selected for non-recurring scheules #291 (Tomer Figenblat)
- fixed rebasing backlashes #291 (Tomer Figenblat)
- fixed typos #291 (Tomer Figenblat)
Documentation
- update build status badge (Tomer Figenblat)
- removed constant and replaced tools with utils #291 (Tomer Figenblat)
- updated docs for version 2.x.x #291 (Tomer Figenblat)
- finished docs for new version and prepare for ghpages deployment #291 (Tomer Figenblat)
- added typing-extensions to aid rtd (Tomer Figenblat)
Styles
- style fixes #291 (Tomer Figenblat)
- style and linting fixes #291 (Tomer Figenblat)
- style fixes #291 (Tomer Figenblat)
- last mintues style fixes #291 (Tomer Figenblat)
Code Refactoring
- removed deprecated phone id an device password params #291 (Tomer Figenblat)
- refactor packates format literals #291 (Tomer Figenblat)
- added Weekday enum intended to replace some constants misuse #291 (Tomer Figenblat)
- started utils script to better accommodate the library its predecessor tools script #291 (Tomer Figenblat)
- replaced tools script with the new utils one #291 (Tomer Figenblat)
- better login packet format #291 (Tomer Figenblat)
- removed the constants script #291 (Tomer Figenblat)
- more refactoring #291 (Tomer Figenblat)
- incorporated dataclasses and deprecated python 3.6" #291 (Tomer Figenblat)
- replcaed dict with asdict #291 (Tomer Figenblat)
- refactored the udp bridge #291 (Tomer Figenblat)
- added a utility function for covnerting watts to amps #291 (Tomer Figenblat)
- removed custom errors #291 (Tomer Figenblat)
- bridge now supports selcting a diffrent port and has a simpler context manager caps #291 (Tomer Figenblat)
- remaining_time is not longer Optional and has default value of 00:00:00 #291 (Tomer Figenblat)
- refactor the pretty_next_run tool and added test cases #291 (Tomer Figenblat)
- refactored the schedule and device modules #291 (Tomer Figenblat)
- small refactoring #291 (Tomer Figenblat)
- refactor the schedule module to avoid cyclic imports #291 (Tomer Figenblat)
- refactoring of the api messages module #291 (Tomer Figenblat)
- moved schedule tools from device tools #291 (Tomer Figenblat)
- refactored the api module #291 (Tomer Figenblat)
- added an indication for a succefull response in the switcher base response #291 (Tomer Figenblat)
- the api now raises a runtime exception if failed to login or get state #291 (Tomer Figenblat)
- delete schedule function from api module now takes schedule id #291 (Tomer Figenblat)
- removed enable-disable schedule functionality #291 (Tomer Figenblat)
- refactor scripts to ease documentation #291 (Tomer Figenblat)
Tests
- removed all test cases for big refactoring process #291 (Tomer Figenblat)
- added datagram full parsing test cases for all devices #291 (Tomer Figenblat)
- added test cases for the udp client protocol #291 (Tomer Figenblat)
- added devices enum helpers test cases #291 (Tomer Figenblat)
- added devices dataclasses integrety test cases #291 (Tomer Figenblat)
- added datagram parsing test cases #291 (Tomer Figenblat)
- added device parsing test cases #291 (Tomer Figenblat)
- replaced monkeypatch with patch for conventions reasons #291 (Tomer Figenblat)
- started testing the udp bridge #291 (Tomer Figenblat)
- added udp bridge test cases #291 (Tomer Figenblat)
- fixed flaky test #291 (Tomer Figenblat)
- added schedule tools test cases #291 (Tomer Figenblat)
- added schedule parser test cases #291 (Tomer Figenblat)
- added schedule parser test cases and fix #291 (Tomer Figenblat)
- added api messages test cases #291 (Tomer Figenblat)
- added api tcp client testing infrastructure #291 (Tomer Figenblat)
- started testing the api module #291 (Tomer Figenblat)
- added test cases for get_state from the api module #291 (Tomer Figenblat)
- added test cases for get_schedules api request #291 (Tomer Figenblat)
- added tests cases for the delete schedule function from the api module #291 (Tomer Figenblat)
- added tests cases for the create schedule function from the api module #291 (Tomer Figenblat)
- refactored the test_api_client test class #291 (Tomer Figenblat)
- added test cases for the set auto shutdown function from the api module #291 (Tomer Figenblat)
- added tests cases for the set device name function from the api module #291 (Tomer Figenblat)
- added test cases for the control device function from the api module #291 (Tomer Figenblat)
Builds
- deps: bump pytest-cov from 2.12.0 to 2.12.1 (#279) #279 (dependabot[bot])
- set next major release version to 2.0.0-dev1 #291 (Tomer Figenblat)
- redesigned the project management files #291 (Tomer Figenblat)
- bumped license from mit to apache2 #291 (Tomer Figenblat)
- started 2.0.0-dev2 release cycle #291 (Tomer Figenblat)
- deprecated support for python 3.7.x (Tomer Figenblat)
- deps: bump mypy from 0.812 to 0.910 (#289) #289 (dependabot[bot])
- end release lifecycle with version 2.0.0 (Tomer Figenblat)
Continuous Integration
- deps: bump marvinpinto/action-automatic-releases from 1.2.0 to 1.2.1 (#280) #280 (dependabot[bot])
- deps: bump codecov/codecov-action from 1.5.0 to 1.5.2 (#282) #282 (dependabot[bot])
- deps: bump reviewdog/action-misspell from 1.7.1 to 1.7.2 (#285) #285 (dependabot[bot])
- deps: bump actions/upload-artifact from 2.2.3 to 2.2.4 (#286) #286 (dependabot[bot])
- deps: bump kentaro-m/auto-assign-action from 1.1.2 to 1.2.0 (#288) #288 (dependabot[bot])
- deps: bump EnricoMi/publish-unit-test-result-action (#287) #287 (dependabot[bot])
- deps: bump reviewdog/action-misspell from 1.7.2 to 1.8.1 (#290) #290 (dependabot[bot])
- commented out update-poetry environment from tox configuration #291 (Tomer Figenblat)
- point python interpreter to the relative venv #291 (Tomer Figenblat)
- better ci workflows #291 (Tomer Figenblat)
- fixed pr build workflow (Tomer Figenblat)
- fixed pr build workflow again (Tomer Figenblat)
- fixed pr build workflow again 2 (Tomer Figenblat)
- added step for setting the ci runner timezone (Tomer Figenblat)
Chores
- added script for controlling the switcher device #291 (Tomer Figenblat)
- added schedule deletion capability to the control_device script #291 (Tomer Figenblat)
- added schedule creation capability to control_device script #291 (Tomer Figenblat)
- added set auto shutdown capability to control_device script #291 (Tomer Figenblat)
- added set name capability to control_device script #291 (Tomer Figenblat)
- added turn on and off capability to control_device script #291 (Tomer Figenblat)