Add nearest method to get data for Airly integration (#44288)
* Add nearest method * Add tests * Move urls to consts * Simplify config flow * Fix tests * Update tests * Use in instead get * Fix AirlyError message in tests * Fix manual update entity tests * Clean up tests * Fix after rebase * Increase test coverage * Format the code * Fix after rebase
This commit is contained in:
parent
76537305e2
commit
2e50c1be8e
8 changed files with 102 additions and 27 deletions
|
@ -36,6 +36,7 @@ async def test_config_not_ready(hass, aioclient_mock):
|
|||
"latitude": 123,
|
||||
"longitude": 456,
|
||||
"name": "Home",
|
||||
"use_nearest": True,
|
||||
},
|
||||
)
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue