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

S10 fixes part1 #75

Merged
merged 8 commits into from
May 9, 2023
Merged

S10 fixes part1 #75

merged 8 commits into from
May 9, 2023

Conversation

torbennehmer
Copy link
Contributor

A number of fixes done for my HA integration to work cleanly.

partly fixes 73:

S10E Serial number detection did not work, a missing elif masked the corresponding check
A few exported classes were missing (notably SendError for error detection)
Calls to set_power_save have been streamlined a bit for easier usage.

Torben Nehmer added 7 commits April 28, 2023 12:24
A missing elif masked the S10E serial number detection, fixed.
We need to parse the return value and compare it to our requested value.
Streamlined the code along the way.
Needed for error detection
E3DCs do indeed return an statusflag here (misinterpretation of mine).
Use int(enable) directly in this case, the intermediate is not needed.
@torbennehmer torbennehmer mentioned this pull request May 7, 2023
@vchrisb vchrisb merged commit 30cc0c2 into fsantini:master May 9, 2023
@torbennehmer torbennehmer deleted the s10-fixes-part1 branch May 16, 2023 15:46
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