-
Notifications
You must be signed in to change notification settings - Fork 26
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
Add function to get limitation for windows with rain sensor #71
Conversation
Hi @Julius2342, Thanks and Regards |
indeed, still runnning and no issues with it |
There are conflicts, may I ask you solve them? |
b9cc5e2
to
7cfd1cc
Compare
Done |
Before i review, some checks are failing: https://github.com/Julius2342/pyvlx/pull/71/checks?check_run_id=3414537725#step:7:222 |
Yes, fixed checks https://github.com/mago0211/pyvlx/runs/3415304542 |
Codecov Report
@@ Coverage Diff @@
## master #71 +/- ##
==========================================
+ Coverage 81.79% 82.49% +0.69%
==========================================
Files 73 75 +2
Lines 2967 3090 +123
==========================================
+ Hits 2427 2549 +122
- Misses 540 541 +1
Continue to review full report at Codecov.
|
Hi, has no coverage but I am undecided how to test this? Yes i can create mocks but makes this sense here? The same in |
Hmm, good question. If nothing helps, mocking is always an option. (The reasons for unit tests are not only covering complex scenarios or e.g. verification of parsing results, it is also checking for typos etc.) I had a first look at the PR, it looks sane. Will do a line by line review later ... Thank you very much :-) |
Thank you very much :-) |
hey @mago0211 , are you still working on this? to make it available in HA? thnx |
Hi, |
Bump :-) |
Hey, in case you did not see - i released a new version ... |
cool, thnx for the feedback!! appreciatied @mago0211 , keep me posted if you start implementing this :-) |
Ok, updated my manifest to 0.2.20, no errors in my custom script, thnx! |
@pergolafabio Currently i have some crazy issues when fetching data but basically it works. |
Cool, will try out tomorrow... |
What are the crazy things then? |
I have something updated you can now set the update interval via config in seconds (Default is 300) velux:
Yes
The gatway comes into trouble if you fetch limitation data for too many windows in parallel. This is now prevented by the integration. |
Ok , gonna update tomorrow , thnx for scan interval, is indeed usefull... |
@pergolafabio |
nice!! maybe in next release :-) good job!! |
@pergolafabio |
I, I saw it, maybe make it 120? |
Add support to get limitations.
Limitations can currently read only on request (poll). There is not status notifications from Gateway on change.
Fixes: #67