Closed pawlizio closed 8 months ago
@Julius2342 : I think it is ready from my side. If you dont mind, we can merge this now.
Once it is merged, I can redirect my custom back to this fork/branch, at least once a new release is created. Finally we can then work improving the HA velux integration to include the features which are now only available in my custom. However due to missing experience in coding, especially unittest, for me this would be a long story. Personally I would appreciate to get rid of my custom, it is just easire for me to include new features there instead of learning all that python staff.
3.9 is still failing, should we ditch 3.9 support :)
3.9 is still failing, should we ditch 3.9 support :)
Either that or I need to modify the "|" type hints to support Python 3.9:
velocity: Velocity | int | None = Velocity.DEFAULT,
into something like that:
velocity: Union[Velocity, int, None] = Velocity.DEFAULT,
Which way you prefer?
3.9 is still failing, should we ditch 3.9 support :)
Either that or I need to modify the "|" type hints to support Python 3.9:
velocity: Velocity | int | None = Velocity.DEFAULT,
into something like that:
velocity: Union[Velocity, int, None] = Velocity.DEFAULT,
Which way you prefer?
I think 99% of the use cases of this library are home-assistant. So it is fine to keep the minumum supported version aligned with them.
And if we are aligned, we should pick the most-modern python possible.
So lets drop 3.9 ...
Attention: 213 lines
in your changes are missing coverage. Please review.
Comparison is base (
8abf076
) 81.96% compared to head (b7089ec
) 79.97%. Report is 1 commits behind head on master.
Files | Patch % | Lines |
---|---|---|
pyvlx/opening_device.py | 34.71% | 79 Missing :warning: |
pyvlx/node_updater.py | 10.76% | 58 Missing :warning: |
pyvlx/heartbeat.py | 33.33% | 24 Missing :warning: |
pyvlx/klf200gateway.py | 20.00% | 12 Missing :warning: |
pyvlx/parameter.py | 78.57% | 12 Missing :warning: |
pyvlx/connection.py | 25.00% | 9 Missing :warning: |
pyvlx/pyvlx.py | 38.46% | 8 Missing :warning: |
pyvlx/const.py | 71.42% | 4 Missing :warning: |
pyvlx/lightening_device.py | 60.00% | 2 Missing :warning: |
pyvlx/on_off_switch.py | 50.00% | 2 Missing :warning: |
... and 3 more |
:exclamation: Your organization needs to install the Codecov GitHub app to enable full functionality.
:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.
@pawlizio : good morning :) Are we ready to merge this PR? What do you think?
Yes, i will bump a version after merge. May I ask you to provide a bulletpoint list of major changes of this PR for the changelog?
Yay!
I added a list above.
I released 0.2.21 and uploaded to pypi ...