Add asuswrt interface and dnsmasq location configuration#29834
Add asuswrt interface and dnsmasq location configuration#29834springstan merged 4 commits intohome-assistant:devfrom
Conversation
|
Hey there @kennedyshead, mind taking a look at this pull request as its been labeled with a integration ( |
|
aioasuswrt has been updated to 1.2.1 to include this update |
|
not sure why it isn't finding the 1.2.1 release: |
That is strange ?! |
@kennedyshead I can confirm that downloading |
|
1.2.2 works, I just installed it locally... Have no idea why 1.2.0 and 1.2.1 fails |
cc13b6b to
e2d3bed
Compare
|
Please add a test to reach the code coverage difference for this patch :) |
d885af5 to
658bf0c
Compare
40fd429 to
835532b
Compare
Yeah..trying to fix this but it is complaining about a Lint issue..I have fixed it and locally Lint passes fine, but when I push it to CI it fails...not sure how to fix this |
|
@pkishino I am not quite sure but has the codecoverage increased by adding this new test? It looks good but I think you will need to add another test that covers the interface as well. |
8328ec5 to
21db624
Compare
Hey, |
|
@pkishino I'll have a look see |
|
If you bump the tests for sensor.py I think you are done ;) |
|
@kennedyshead yeah, can take a look at that but as there currently are 0 tests for sensor not sure where to start and exactly what needs to be covered there.. |
Codecov Report
@@ Coverage Diff @@
## dev #29834 +/- ##
==========================================
+ Coverage 94.62% 94.73% +0.11%
==========================================
Files 749 766 +17
Lines 54193 55568 +1375
==========================================
+ Hits 51279 52644 +1365
- Misses 2914 2924 +10
Continue to review full report at Codecov.
|
|
oh come on...this is nonsense... |
|
Please remove the following line which omits the specified file from code coverage testing: |
|
@pkishino no worries such a small difference is okay 😉 @kennedyshead please take a look again to approve this PR if everything is fine :) |
|
Looks fine to me :) |
Description:
This adds two new parameters to asuswrt configuration to specify dnsmasq location and interface to use for statistics.
This fixes the issue with padavan n56u-project sensors not reading statistics as well as having to create a soft link to dnsmasq file.
Pull request with documentation for home-assistant.io (if applicable): home-assistant/home-assistant.io#11426
Example entry for
configuration.yaml(if applicable):Checklist:
tox. Your PR cannot be merged unless tests passIf user exposed functionality or configuration variables are added/changed:
If the code communicates with devices, web services, or third-party tools:
python3 -m script.hassfest.requirements_all.txtby runningpython3 -m script.gen_requirements_all..coveragerc.If the code does not interact with devices: