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:
Maciej Bieniek 2021-01-04 23:14:45 +01:00 committed by GitHub
parent 76537305e2
commit 2e50c1be8e
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
8 changed files with 102 additions and 27 deletions

View file

@ -36,6 +36,7 @@ async def test_config_not_ready(hass, aioclient_mock):
"latitude": 123,
"longitude": 456,
"name": "Home",
"use_nearest": True,
},
)