Aaron Bach
8661cf463a
Update AirVisual to use DataUpdateCoordinator ( #34796 )
...
* Update AirVisual to use DataUpdateCoordinator
* Empty commit to re-trigger build
* Don't include history or trends in config flow
* Code review
2020-05-01 11:29:58 -06:00
Aaron Bach
4d292c2723
Add support for AirVisual Node/Pro units ( #32815 )
...
* Add support for AirVisual Node Pro units
* Fixed tests
* Updated dependencies
* Guard looks cleaner
* Limit options update to geography-based entries
* Docstring
* Use proper precision in display_temp
* Add availability for AirVisualNodeProSensor
* Updated translations
* Samba stuff in play
* Wrap up Samba
* Fix tests
* Remove unnecessary updates
* Normalize labels
* Bump requirements
* Don't include configuration.yaml support for this new functionality
* Fix tests
* Code review
* Code review
* Update coveragerc
* Code review
2020-04-23 01:41:14 +02:00
Aaron Bach
f53dfc4308
Don't reinvent callback handler removal logic in several integ… ( #33726 )
2020-04-05 22:36:23 -07:00
Aaron Bach
0e2fa7700d
Allow more than one AirVisual config entry with the same API k… ( #33072 )
...
* Allow more than one AirVisual config entry with the same API key
* Add tests
* Correctly pop geography
* Code review
* Code review
2020-03-24 11:39:38 -07:00
Aaron Bach
21cff003f8
Add options flow for AirVisual ( #32634 )
...
* Add options flow for AirVisual
* Code review
Co-Authored-By: Robert Svensson <Kane610@users.noreply.github.com>
Co-authored-by: Robert Svensson <Kane610@users.noreply.github.com>
2020-03-10 14:16:25 -06:00
Aaron Bach
e9a7b66df6
Add config entry for AirVisual ( #32072 )
...
* Add config entry for AirVisual
* Update coverage
* Catch invalid API key from config schema
* Rename geographies to stations
* Revert "Rename geographies to stations"
This reverts commit 5477f89c24cb3f58965351985b1021fc5fc794a5.
* Update strings
* Update CONNECTION_CLASS
* Remove options (subsequent PR)
* Handle import step separately
* Code review comments and simplification
* Move default geography logic to config flow
* Register domain in config flow init
* Add tests
* Update strings
* Bump requirements
* Update homeassistant/components/airvisual/config_flow.py
* Update homeassistant/components/airvisual/config_flow.py
* Make schemas stricter
* Linting
* Linting
* Code review comments
* Put config flow unique ID logic into a method
* Fix tests
* Streamline
* Linting
* show_on_map in options with default value
* Code review comments
* Default options
* Update tests
* Test update
* Move config entry into data object (in prep for options flow)
* Empty commit to re-trigger build
2020-02-28 20:14:17 -07:00
Ville Skyttä
496bd3dddf
Add and use more unit constants ( #32122 )
...
* Add and use speed constants
* Add and use meter based volume and area constants
* Add and use more mass unit constants
* Add and use concentration unit constants
* Add and use watts per square meter constant
* Use more time constants
* Use more data constants
2020-02-24 17:52:14 -08:00
springstan
524a1a7587
Use f-strings in integrations starting with "A" ( #32110 )
...
* Use f-strings in integrations starting with A
* Use f-strings in tests for integrations starting with A
* Fix pylint by renaming variable
* Fix nested for loop in f-string for aprs device_tracker
* Break long lines into multiple short lines
* Break long lines into multiple short lines v2
2020-02-23 13:38:05 -08:00
Ville Skyttä
5216477353
Be consistent with Home Assistant and Hass.io spelling ( #30500 )
...
* Be consistent with Home Assistant spelling
* Be consistent with Hass.io spelling
2020-01-05 14:09:17 +02:00
bouni
62fcea2a8d
moved imports to top level ( #27781 )
2019-10-17 15:04:41 +02:00
Franck Nijhof
ad51615718
Use literal string interpolation in integrations A (f-strings) ( #26377 )
...
* Use literal string interpolation in integrations A (f-strings)
* Black
2019-09-03 09:11:36 -05:00
Paulus Schoutsen
4de97abc3a
Black
2019-07-31 12:25:30 -07:00
cgtobi
2c07bfb9e0
Remove dependencies and requirements ( #23024 )
...
* Remove dependencies and requirements
* Revert "Remove dependencies and requirements"
This reverts commit fe7171b4cd
.
* Remove dependencies and requirements
* Revert "Remove dependencies and requirements"
This reverts commit 391355ee2c
.
* Remove dependencies and requirements
* Fix flake8 complaints
* Fix more flake8 complaints
* Revert non-component removals
2019-04-12 10:13:30 -07:00
Tobias Sauerwein
048b100eea
Clean up docstrings ( #22679 )
...
* Clean up docstrings
* Fix long lines
* Fix more docstrings
* Fix more docstrings
* Fix more docstrings
2019-04-03 17:40:03 +02:00
Paulus Schoutsen
f5076188ef
Consolidate all platforms that have no tests ( #22096 )
...
* Consolidate
* Fix tests
* Update imports
* Fix import
* Use importlib because integration and package share name
* Fix more tests
* Update .coveragerc and CODEOWNERS
2019-03-16 20:44:05 -07:00