core/homeassistant/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
..
translations
__init__.py Add dynamic update interval to Airly integration (#47505) 2021-04-27 23:34:53 +02:00
air_quality.py
config_flow.py
const.py Add dynamic update interval to Airly integration (#47505) 2021-04-27 23:34:53 +02:00
manifest.json
sensor.py
strings.json
system_health.py