-
Notifications
You must be signed in to change notification settings - Fork 28
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* added more logs * Log updated * Logger updated * Remove log * Add connection counter for debugging * Hearbeat modified * Start heartbeat after connecting * Update get_state.py * Update heartbeat.py * Update pyvlx.py * Updated log * update log * update log * fix stop on orientation command * Revert "Update heartbeat.py" This reverts commit f9f0251. * Remove pass exception * adding logs * version update * version changed * Showing correct branch in the logs * Logs correcting * Heartbeat fixed * Version updated * Reducing traffic * HSM short disabling after reconnection * Version update * Heartbeat start on connect * Rebase * fix imports * fix imports * alphabetic sorting * some thread safety and hearbeat restart if already running to ensure it has not failed * Update setup.py * Update pyvlx.py * Rebuilt heartbeat in an (IMHO) cleaner way. Old heartbeat prevented hass from shutting down for upt o 60s * Await heartbeat stop * Update Version * Add OnOffSwitch to pyvlx * Add bytes representation of SwitchParameter * Set switch states from state nofitications * removed import version * Update version * Change states only after reaching target * Add opening/closing info * Add debug for opening/closing info * Add support for DualRollerShutter * Removed orientation reference in DualRollerShutter * Add active_paramer value for DualRollerShutter * Just send on FP for DualRollerShutter * Set unused Parameter to Target in DualRollerShutt * Add DuealRollerShutterPosition * Fix for out_of_range for DualRoller * Add DUAL parameter into str representation * Updated comments * Fix upper/lower curtain position * Fix wrong position on DualRollerShutter * Updated unittests * Update DualRollerShutter only with valid value * Increase version * Remove debug messages * Update "is opening/closing" logic * Use state info for opening/closing * Add OperatingState to frames * adjust version in debug printout * Update const * Version update * Allow for the velocity to be set when opening/closing/setting position of opening devices * Allow for the velocity to be set when opening/closing/setting position of opening devices: extra boolean for HA configuration entity * Update setup.py * Update pyvlx.py * version update * Support various undefined operating states * Add velocity for DualRollerShutter * poll states during heartbeat * Update setup.py * Update pyvlx.py * Fix #33 * adjustable open close positions * add spec * catch lost commands * update version * add debug message * Imrpove commands * remain session_id * Clear event * fix await * Use Semaphore * Increase parallel updates * update log * update version * Update pyvlx.py * Update setup.py * add missing import * Fix linter issues * Fix linter * Fix Linter * Fix flake8 * fix flake * several fixes * fix isort issues * update command_send.py * fix flake8 * fix flake8 * fix pylint * fix Flake8 * fix isort * fix linting * correct version * fix paramter.py * Add more specific exceptions * fix OperatingState in frames * ignore type * version information * Revert serial_number assertion * version update for testing * fix opening_device.py * version update for testing * remove version * Add docstrings * fix linter * fix linting * fix isort * remove unnecessary else * fix serial_number arguments * update version * Update semaphore * Clear asyncio event * Cleanup command_send.oy * Revert to return early approach * Add tests * add docstring * Add test * fix isort * Add docstring * Remove unused imports * Add typing * Add mock for PyVLX * Remove unused imports * Add type ignore hints * add type hints * Add type hints * Add further tests * Fix target_position * update version for testing * correct version * Update ci.yml * Update ci.yml * Add type hints * Adding tests * Add mocked_loop * Add type hints * Update ci.yml * Update ci.yml * Update typing and testing * add typing * add typing * Reduce logs * remove log import * fix version * Remove pyvlx object from log entry --------- Co-authored-by: Christopher Hoch <chris@hpc.at> Co-authored-by: Christopher Hoch <chris.hoch@hpc.at>
- Loading branch information
1 parent
c9736bf
commit 46992b4
Showing
48 changed files
with
1,296 additions
and
619 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -11,3 +11,7 @@ output-format=colorized | |
[FORMAT] | ||
indent-string=' ' | ||
max-line-length=150 | ||
|
||
[MAIN] | ||
max-branches=20 | ||
max-statements=55 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.