epenet
3e9d25f81d
Add missing argument type hints to component tests ( #119671 )
2024-06-14 09:26:46 +02:00
Maciej Bieniek
35d44ec90a
Store Airly runtime data in config entry ( #117031 )
...
* Store runtime data in config entry
* Fix tests
---------
Co-authored-by: Maciej Bieniek <478555+bieniu@users.noreply.github.com>
2024-05-07 22:04:37 +02:00
Marc Mueller
aa16a9d707
Add empty line after module docstring (3) ( #112750 )
2024-03-08 20:38:34 +01:00
Joost Lekkerkerker
5ad97827cf
Use snapshot assertion for Airly diagnostics ( #98726 )
2023-08-22 12:17:43 +02:00
Paulus Schoutsen
31153ac155
Move fixtures part 1 ( #58902 )
2021-11-01 20:47:05 -07:00
Maciej Bieniek
2e50c1be8e
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
2021-01-04 23:14:45 +01:00
Maciej Bieniek
97894bd718
Refactor Airly config flow ( #44330 )
2020-12-17 19:34:40 +01:00
Maciej Bieniek
94e1f8e631
Refactor Airly tests ( #44315 )
2020-12-17 16:44:46 +01:00
Maciej Bieniek
ad0560ef37
Improve tests for Airly integration ( #38357 )
...
* Add tests
* More tests
* Add PARALLEL_UPDATES
* Change Quality scale to platinum
* Change PARALLEL_UPDATES value
2020-07-30 08:41:18 -10:00
Maciej Bieniek
8ba4ee1012
Add Airly integration ( #26375 )
...
* Add Airly integration
* Update .coveragerc file
* Remove AVAILABLE_CONDITIONS and fix device_class
* Don't create client on every update
* Rename client to session
* Rename state_attributes to device_state_attributes
* Remove log latitude and longitude
* Fix try...except
* Change latitude and longitude to HA defaults
* _show_config_form doesn't need coroutine
* Simplify config_flow errors handlig
* Preetier
* Remove unnecessary condition
* Change sensor platform to air_quality
* Remove PM1
* Make unique_id more unique
* Remove ,
* Add tests for config_flow
* Move conf to CONFIG
* Remove domain from unique_id
* Change the way update of attrs
* Language and attrs
* Fix attrs
* Add aiohttp error handling
* Throttle as decorator
* Suggested change
* Suggested change
* Invert condition
* Cleaning
* Add tests
* Polish no sesnor error handling
* Better strings
* Fix test_invalid_api_key
* Fix documentation url
* Remove unnecessary test
* Remove language option
* Fix test_invalid_api_key once again
* Sort imports
* Remove splits in strings
2019-10-04 13:58:29 +02:00