-
-
Notifications
You must be signed in to change notification settings - Fork 17
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #53 from dmamontov/dev
Fix bugs and add tests
- Loading branch information
Showing
44 changed files
with
2,280 additions
and
10 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
[run] | ||
source = custom_components/miwifi |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -129,3 +129,4 @@ dmypy.json | |
.pyre/ | ||
|
||
.DS_Store | ||
.idea |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
"""MiWifi custom integration.""" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
aiohttp_cors==0.7.0 | ||
aiodiscover==1.4.8 | ||
scapy==2.4.5 | ||
async_upnp_client==0.27.0 | ||
|
||
codecov==2.1.12 | ||
coverage==6.3.2 | ||
pytest==7.1.1 | ||
pytest-cov==2.12.1 | ||
pytest-homeassistant-custom-component==0.8.11 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
"""Tests for the miwifi component.""" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,103 @@ | ||
{ | ||
"list": [ | ||
{ | ||
"c": "0", | ||
"b": [ | ||
"20", | ||
"40" | ||
] | ||
}, | ||
{ | ||
"c": "1", | ||
"b": [ | ||
"20", | ||
"40" | ||
] | ||
}, | ||
{ | ||
"c": "2", | ||
"b": [ | ||
"20", | ||
"40" | ||
] | ||
}, | ||
{ | ||
"c": "3", | ||
"b": [ | ||
"20", | ||
"40" | ||
] | ||
}, | ||
{ | ||
"c": "4", | ||
"b": [ | ||
"20", | ||
"40" | ||
] | ||
}, | ||
{ | ||
"c": "5", | ||
"b": [ | ||
"20", | ||
"40" | ||
] | ||
}, | ||
{ | ||
"c": "6", | ||
"b": [ | ||
"20", | ||
"40" | ||
] | ||
}, | ||
{ | ||
"c": "7", | ||
"b": [ | ||
"20", | ||
"40" | ||
] | ||
}, | ||
{ | ||
"c": "8", | ||
"b": [ | ||
"20", | ||
"40" | ||
] | ||
}, | ||
{ | ||
"c": "9", | ||
"b": [ | ||
"20", | ||
"40" | ||
] | ||
}, | ||
{ | ||
"c": "10", | ||
"b": [ | ||
"20", | ||
"40" | ||
] | ||
}, | ||
{ | ||
"c": "11", | ||
"b": [ | ||
"20", | ||
"40" | ||
] | ||
}, | ||
{ | ||
"c": "12", | ||
"b": [ | ||
"20", | ||
"40" | ||
] | ||
}, | ||
{ | ||
"c": "13", | ||
"b": [ | ||
"20", | ||
"40" | ||
] | ||
} | ||
], | ||
"code": 0 | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,76 @@ | ||
{ | ||
"list": [ | ||
{ | ||
"c": "0", | ||
"b": [ | ||
"20", | ||
"40" | ||
] | ||
}, | ||
{ | ||
"c": "36", | ||
"b": [ | ||
"20", | ||
"40", | ||
"80" | ||
] | ||
}, | ||
{ | ||
"c": "40", | ||
"b": [ | ||
"20", | ||
"40", | ||
"80" | ||
] | ||
}, | ||
{ | ||
"c": "44", | ||
"b": [ | ||
"20", | ||
"40", | ||
"80" | ||
] | ||
}, | ||
{ | ||
"c": "48", | ||
"b": [ | ||
"20", | ||
"40", | ||
"80" | ||
] | ||
}, | ||
{ | ||
"c": "149", | ||
"b": [ | ||
"20", | ||
"40", | ||
"80" | ||
] | ||
}, | ||
{ | ||
"c": "153", | ||
"b": [ | ||
"20", | ||
"40", | ||
"80" | ||
] | ||
}, | ||
{ | ||
"c": "157", | ||
"b": [ | ||
"20", | ||
"40", | ||
"80" | ||
] | ||
}, | ||
{ | ||
"c": "161", | ||
"b": [ | ||
"20", | ||
"40", | ||
"80" | ||
] | ||
} | ||
], | ||
"code": 0 | ||
} |
Oops, something went wrong.