core/tests/components/airly
Maciej Bieniek 513685bbea
Add dynamic update interval to Airly integration (#47505)
* Add dynamic update interval

* Update tests

* Improve tests

* Improve comments

* Add MAX_UPDATE_INTERVAL

* Suggested change

Co-authored-by: Martin Hjelmare <marhje52@gmail.com>

* Use async_fire_time_changed to test update interval

* Fix test_update_interval

* Patch dt_util in airly integration

* Cleaning

* Use total_seconds instead of seconds

* Fix update interval test

* Refactor update interval test

* Don't create new context manager

Co-authored-by: Martin Hjelmare <marhje52@gmail.com>
2021-04-27 23:34:53 +02:00
..
__init__.py Add nearest method to get data for Airly integration (#44288) 2021-01-04 23:14:45 +01:00
test_air_quality.py Update tests a-b to use async_get() instead of async_get_registry() (#47651) 2021-03-09 14:24:34 +01:00
test_config_flow.py Add nearest method to get data for Airly integration (#44288) 2021-01-04 23:14:45 +01:00
test_init.py Add dynamic update interval to Airly integration (#47505) 2021-04-27 23:34:53 +02:00
test_sensor.py Update tests a-b to use async_get() instead of async_get_registry() (#47651) 2021-03-09 14:24:34 +01:00
test_system_health.py Bump airly library to version 1.1.0 (#47163) 2021-02-28 12:53:13 +01:00