Marc Mueller
2956eb0902
Update pylint to 2.7.3 ( #48488 )
...
* Update pylint to 2.7.3
* Add class-const-naming-style
* Remove unused-import message
* Additional cleanup
2021-03-29 18:02:56 -10: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
ccbf857266
Clean Airly config flow ( #44352 )
2020-12-19 09:30:45 -07:00
Maciej Bieniek
97894bd718
Refactor Airly config flow ( #44330 )
2020-12-17 19:34:40 +01:00
SNoof85
3195ce5d56
Use of reference strings for Airly config flow ( #40946 )
2020-10-01 12:28:32 +02:00
Maciej Bieniek
15645ab0c9
Add unique ID to Airly config entries ( #30681 )
...
* Add unique ID to Airly config entries
* Update tests
* Update tests
* Fix typo
* Remove unnecesary and undo changes in first test
* Suggested change
2020-01-13 13:28:07 +01:00
Bas Nijholt
700cecc8ef
sort imports according to PEP8 for airly ( #29615 )
2019-12-08 13:41:51 +01: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