Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Refactoring for public integration lib 0.1.1 #17

Merged
merged 14 commits into from
Nov 4, 2023
Merged

Conversation

zehnm
Copy link
Contributor

@zehnm zehnm commented Nov 4, 2023

Mayor refactoring for the newly published integration library on PyPI and our new Docker image for running pyinstaller.
This makes the build much simpler and faster.

Fixed linting issues and improved command handler.

zehnm added 14 commits October 27, 2023 18:01
- refactored changed API
- fixed invalid names
- private logging instance
- use a dedicated entity_id with the entity_type as prefix, avr_id as suffix
- prepare driver for multiple entities per AVR
- more NoneType fixes
- more type information
Directly add event listener in _on_subscribe_entities and avoid loop variable in on_update
Use new event listener registration methods.
Entity commands are now handled within the entities.
Improve developer UX with setup request & action objects, instead of sending low-level WS messages.
With library fix this closes #2
@zehnm zehnm requested a review from martonborzak November 4, 2023 17:17
@zehnm zehnm merged commit f63db8a into main Nov 4, 2023
2 checks passed
@zehnm zehnm deleted the refactor/intg_lib_0.1.0 branch November 4, 2023 17:54
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants