J. Nick Koston
3f3f77c6e6
Reduce config entry setup/unload boilerplate N-P ( #49777 )
2021-04-27 20:42:21 +02:00
Franck Nijhof
055cdc64c0
Add support for IoT class in manifest ( #46935 )
2021-04-15 10:21:38 +02:00
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
Erik Montnemery
c900e3030b
Migrate integrations n-q to extend SensorEntity ( #48214 )
2021-03-22 19:46:46 +01:00
HomeAssistant Azure
c11b85af2f
[ci skip] Translation update
2021-03-16 00:04:36 +00:00
Erik Montnemery
14a59d290a
Update integrations j-o to override extra_state_attributes() ( #47758 )
2021-03-11 20:11:25 +01:00
Quentame
198ecb0945
Uniformize platform setup ( #47101 )
...
* A platform is not a component
* Fix dynalite
* SUPPORTED_PLATFORMS --> PLATFORMS
* In tests
* In tests 2
* Fix SmartThings
* Fix ZHA test
* Fix Z-Wave
* Revert Z-Wave
* Use PLATFORMS const in ambient_station
* Fix ihc comment
2021-03-02 21:43:59 +01:00
HomeAssistant Azure
0cb1f61deb
[ci skip] Translation update
2021-02-21 00:07:04 +00:00
Paulus Schoutsen
959ed6d077
Update translations
2021-02-03 11:46:49 +01:00
HomeAssistant Azure
848224262c
[ci skip] Translation update
2020-12-10 00:03:01 +00:00
Aaron Bach
be39104a36
Re-organize OpenUV constants ( #43453 )
...
Co-authored-by: Franck Nijhof <git@frenck.dev>
2020-11-22 12:50:22 +01:00
HomeAssistant Azure
a1306059af
[ci skip] Translation update
2020-11-19 00:11:12 +00:00
Paulus Schoutsen
54f3d9078a
Update translations
2020-11-11 12:10:09 +01:00
HomeAssistant Azure
e972686a13
[ci skip] Translation update
2020-11-06 00:04:57 +00:00
HomeAssistant Azure
7a06af53ef
[ci skip] Translation update
2020-10-28 00:03:38 +00:00
springstan
e8ec9b5b40
Use common strings in openuv config flow ( #42480 )
2020-10-27 13:04:01 -06:00
springstan
5f3384fc8a
Add elevation to base strings for config flows ( #42377 )
2020-10-26 23:30:20 -05:00
HomeAssistant Azure
81296b2b70
[ci skip] Translation update
2020-10-20 00:08:00 +00:00
HomeAssistant Azure
1417a4161f
[ci skip] Translation update
2020-10-13 00:03:24 +00:00
HomeAssistant Azure
f787289ea0
[ci skip] Translation update
2020-10-12 00:03:31 +00:00
HomeAssistant Azure
80522f1bdc
[ci skip] Translation update
2020-10-11 00:03:37 +00:00
HomeAssistant Azure
6ae12c3faf
[ci skip] Translation update
2020-10-10 00:05:05 +00:00
HomeAssistant Azure
d73d36d0cd
[ci skip] Translation update
2020-10-08 00:06:03 +00:00
Maciej Bieniek
81ceb3e499
Add already_configured_location to base strings for config flows ( #41335 )
...
* Add already_configured_location key
* Use already_configured_location in Airly
* Use already_configured_location in Flu Near You
* Use already_configured_location in OpenUV
* Use already_configured_location in Open Weather Map
* Use already_configured_location in AirVisual
2020-10-06 22:34:06 -05:00
HomeAssistant Azure
486c0b644a
[ci skip] Translation update
2020-10-07 00:06:20 +00:00
HomeAssistant Azure
f8c2d877aa
[ci skip] Translation update
2020-10-04 00:05:05 +00:00
HomeAssistant Azure
81c6d48cb4
[ci skip] Translation update
2020-10-02 00:05:51 +00:00
SNoof85
480066ba63
Add longitude and latitude common strings ( #40963 )
2020-10-01 15:36:57 +02:00
HomeAssistant Azure
75659ff787
[ci skip] Translation update
2020-09-23 00:05:01 +00:00
HomeAssistant Azure
65b227126d
[ci skip] Translation update
2020-09-03 00:06:16 +00:00
Ville Skyttä
b4bac0f7a0
Exception chaining and wrapping improvements ( #39320 )
...
* Remove unnecessary exception re-wraps
* Preserve exception chains on re-raise
We slap "from cause" to almost all possible cases here. In some cases it
could conceivably be better to do "from None" if we really want to hide
the cause. However those should be in the minority, and "from cause"
should be an improvement over the corresponding raise without a "from"
in all cases anyway.
The only case where we raise from None here is in plex, where the
exception for an original invalid SSL cert is not the root cause for
failure to validate a newly fetched one.
Follow local convention on exception variable names if there is a
consistent one, otherwise `err` to match with majority of codebase.
* Fix mistaken re-wrap in homematicip_cloud/hap.py
Missed the difference between HmipConnectionError and
HmipcConnectionError.
* Do not hide original error on plex new cert validation error
Original is not the cause for the new one, but showing old in the
traceback is useful nevertheless.
2020-08-28 13:50:32 +02:00
Franck Nijhof
1c2ebdf307
Upgrade black to 20.8b1 ( #39287 )
2020-08-27 13:56:20 +02:00
Aaron Bach
7071f3a966
Remove deprecated YAML config from OpenUV ( #38857 )
2020-08-16 19:57:10 -06:00
HomeAssistant Azure
9092b83869
[ci skip] Translation update
2020-07-20 00:03:01 +00:00
Bram Kragten
9ecaa10e51
Adjust icons for MDI bump ( #37730 )
2020-07-14 22:17:14 +02:00
HomeAssistant Azure
e39997ca10
[ci skip] Translation update
2020-06-23 00:09:06 +00:00
HomeAssistant Azure
b15caf31a9
[ci skip] Translation update
2020-06-15 00:03:32 +00:00
HomeAssistant Azure
3bf389639b
[ci skip] Translation update
2020-06-07 00:03:28 +00:00
HomeAssistant Azure
492874c4a0
[ci skip] Translation update
2020-06-06 00:03:33 +00:00
HomeAssistant Azure
f8e48a9230
[ci skip] Translation update
2020-06-05 00:05:36 +00:00
HomeAssistant Azure
08e85696c1
[ci skip] Translation update
2020-06-04 00:04:15 +00:00
HomeAssistant Azure
a4d4e26fe5
[ci skip] Translation update
2020-06-02 00:05:54 +00:00
HomeAssistant Azure
d488c779fc
[ci skip] Translation update
2020-06-01 00:03:28 +00:00
HomeAssistant Azure
f4a518edcc
[ci skip] Translation update
2020-05-30 00:03:23 +00:00
HomeAssistant Azure
564fb1d1e5
[ci skip] Translation update
2020-05-29 00:04:16 +00:00
Aaron Bach
c18ba6aec0
Remove configuration.yaml support for OpenUV ( #36148 )
...
Co-authored-by: Paulus Schoutsen <paulus@home-assistant.io>
2020-05-27 15:48:28 -07:00
HomeAssistant Azure
56efc341dd
[ci skip] Translation update
2020-05-23 00:02:41 +00:00
HomeAssistant Azure
973f66a974
[ci skip] Translation update
2020-05-22 00:05:00 +00:00
HomeAssistant Azure
c10aa13d0b
[ci skip] Translation update
2020-05-20 00:03:49 +00:00
HomeAssistant Azure
e94f44f294
[ci skip] Translation update
2020-05-17 00:02:56 +00:00
HomeAssistant Azure
9586e9ebef
[ci skip] Translation update
2020-05-15 00:02:56 +00:00
Paulus Schoutsen
0efeefe3b2
Update translations
2020-05-13 11:27:21 -07:00
Paulus Schoutsen
dd32324e01
Use config flow references for data ( #35529 )
2020-05-12 10:50:44 -07:00
HomeAssistant Azure
5d37eb8eeb
[ci skip] Translation update
2020-04-30 00:03:17 +00:00
Erik Montnemery
b022e08db9
Rename BinarySensorDevice to BinarySensorEntity ( #34462 )
...
* Rename BinarySensorDevice to BinarySensorEntity
* Tweak
* Move deprecation warning to __new__, add test
* Move deprecation warning back to __init__
* Move deprecation warning to __init_subclass
2020-04-23 21:57:07 +02:00
Joakim Sørensen
730a257f3c
Rename translations dir for integrations ( #34494 )
2020-04-21 16:11:05 -07:00
springstan
ef9d9b17bd
Drop UNIT_ prefix for constants ( #34164 )
...
* Drop UNIT_ prefix for VOLT
* Drop UNIT_ prefix for DEGREE
* Drop UNIT_ prefix for CONDUCTIVITY
* Drop UNIT_ prefix for UV_INDEX
* Run isort
2020-04-21 19:45:53 +02:00
Paulus Schoutsen
0d60d40512
Update translations
2020-04-16 13:00:10 -07:00
Paulus Schoutsen
55dfca7467
Drop title from translations if brand name ( #34306 )
2020-04-16 12:52:53 -07:00
Paulus Schoutsen
f06aeea385
Update translations
2020-04-15 09:51:07 -07:00
Paulus Schoutsen
d36204a968
Move title translation to root ( #33850 )
2020-04-15 09:41:18 -07:00
springstan
44afffcfbf
Use UNIT_UV_INDEX constant ( #34055 )
2020-04-12 21:04:13 +02:00
springstan
eae21be5b9
Improve string formatting v6 ( #33698 )
2020-04-07 23:14:28 +02:00
Aaron Bach
f53dfc4308
Don't reinvent callback handler removal logic in several integ… ( #33726 )
2020-04-05 22:36:23 -07:00
Franck Nijhof
24840b54ac
Add yamllint (in pre-commit and CI) ( #33676 )
...
* Add yamllint (in pre-commit and CI)
* Fix linting for all YAML files
* Bump and add it to requirements
* Fix gen_requirements for pre-commit, remove 'v' from version
2020-04-05 10:33:45 +02:00
Franck Nijhof
7653dc947a
Enable pylint unnecessary-pass ( #33650 )
...
* Enable pylint unnecessary-pass
* Process review suggestions
* Fix smhi tests
2020-04-05 10:33:07 +02:00
Franck Nijhof
7d3c974747
Use set & dict literals ( #33636 )
...
Co-authored-by: Daniel Høyer Iversen <mail@dahoiv.net>
2020-04-04 20:05:15 +02:00
Franck Nijhof
e8a0abd107
String formatting improvements ( #33635 )
...
* String formatting improvements
* Found another one
2020-04-04 18:21:14 +02:00
Paulus Schoutsen
f1d3c0d19b
Remove unused manifest fields ( #33595 )
2020-04-03 12:58:19 -07:00
Aaron Bach
609263e1bb
Add cleanup to OpenUV ( #32886 )
...
* Add cleanup to OpenUV
* Linting
2020-03-17 22:03:16 -05:00
springstan
a85808e325
Add and use time related constants ( #32065 )
...
* Add and use time related constants
* Sort time constants and reuse them in data rate constants
* Fix greeneyemonitor import
* Fix greeneyemonitor import V2
* Fix failing here_travel_time test
* Add TIME_MONTHS and TIME_YEARS
* Use TIME_MINUTES in opentherm_gw and isy994
* Add and use TIME_MILLISECONDS
* Change inconsistent ones
* Add TIME_MICROSECONDS and TIME_WEEKS
* Use constants in apcupsd and travisci
* Fix import error in upnp sensor.py
* Fix isy994 sensor.py using TIME_YEARS
* Fix dyson tests
* Use TIME_SECONDS in more places
* Use TIME_DAYS in google wifi
2020-02-23 22:09:24 +02:00
HomeAssistant Azure
118ba10442
[ci skip] Translation update
2020-02-10 00:31:37 +00:00
HomeAssistant Azure
a2bea2cab8
[ci skip] Translation update
2020-02-09 00:31:39 +00:00
Aaron Bach
288574b8d1
Remove monitored conditions from OpenUV ( #31019 )
...
* Remove monitored conditions from OpenUV
* Code review comments
2020-01-22 17:48:20 -08:00
Franck Nijhof
fb35d382e1
Remove all empty *_setup_platform() from integrations ( #31025 )
...
* Remove all empty *_setup_platform() from integrations
* Fix tests for smartthings
* Fix tests for heos
2020-01-21 12:38:38 +01:00
Aaron Bach
662c12715e
Allow OpenUV entities to be unavailable ( #31018 )
...
* Allow OpenUV entities to be unavailable
* Empty commit to re-trigger build
2020-01-20 13:33:58 -07:00
Franck Nijhof
a84741392b
Format all manifests with prettier ( #30521 )
2020-01-06 21:28:23 +01: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
HomeAssistant Azure
13116d8d3f
[ci skip] Translation update
2019-12-30 00:32:19 +00:00
springstan
23fb364076
Move imports to top for openuv ( #29541 )
...
* Move imports to top for openuv
* Renamed mock_pyopenuv_ to MockClient in test_config_flow
2019-12-06 14:13:43 -07:00
Aaron Bach
fae8cd48c4
Add small speed improvement when unloading OpenUV ( #28758 )
2019-11-13 14:27:15 -07:00
HomeAssistant Azure
d8e3255603
[ci skip] Translation update
2019-10-15 00:31:44 +00:00
HomeAssistant Azure
2c6a869bc6
[ci skip] Translation update
2019-10-06 00:32:15 +00:00
Franck Nijhof
c7da781efc
Update documentation link URL for integrations in all manifests ( #27114 )
2019-10-02 09:25:44 -07:00
Aaron Bach
ce97c27a7f
Fix possible OpenUV exception due to missing data ( #26958 )
2019-09-27 17:03:15 -07:00
HomeAssistant Azure
1cbb895d20
[ci skip] Translation update
2019-09-05 10:11:41 +00:00
Franck Nijhof
1c5e0123c9
Use literal string interpolation in integrations N-Q (f-strings) ( #26391 )
2019-09-03 11:35:00 -07:00
StephenWetzel
16fff16082
Add two new methods to the OpenUV component that consume only a singl… ( #26207 )
...
* Add two new methods to the OpenUV component that consume only a single API call
* Two lines after class
* Rename methods to better reflect what they do, and DRY copy and pasted code
* More error handling down into methods, run api calls in parallel
* Fix import order
* Add new methods to services.yaml, and update error messages
2019-08-29 09:56:12 -06:00
Paulus Schoutsen
e69953fe2d
Update translations
2019-08-28 12:45:48 -07:00
Paulus Schoutsen
37d78af42c
Add translations
2019-07-31 16:16:40 -07:00
Paulus Schoutsen
4de97abc3a
Black
2019-07-31 12:25:30 -07:00
Paulus Schoutsen
92816b57ef
Update translations
2019-06-14 14:53:13 -07:00
Paulus Schoutsen
1e22c8daca
Automatically generate config flow list ( #23802 )
...
* Add config flow to manifest.json
* Still load config flows via config flow platform
* Fix typo
* Lint
* Update config_flows.py"
* Catch import error when setting up entry
* Lint
* Fix tests
* Fix imports
* Lint
* Fix Unifi tests
* Fix translation test
* Add homekit_controller config flow
2019-05-13 01:16:55 -07:00
Aaron Bach
75abfd49ef
Fixed unhandled exception in OpenUV data update ( #23611 )
2019-05-01 21:15:10 -06:00
Aaron Bach
56b08a6ddb
Ensure OpenUV service checks permissions ( #22668 )
...
* Create decorator to check service permissions
* Ensure OpenUV service has proper user permissions
* Reverting strange changes
2019-04-13 16:50:19 -06: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
Paulus Schoutsen
0d2646ba25
Update translations
2019-04-09 08:34:20 -07:00
Paulus Schoutsen
cfe4cf30ad
Add manifests ( #22699 )
...
* Add manifests
* Update auto name
* Update codeowners
* Add requirements from platforms
* Minor cleanup
* Incorporate changes from awarecan PR
2019-04-03 21:14:45 -07:00
Paulus Schoutsen
4b1de61110
Use relative imports inside integrations ( #22235 )
...
* Use relative imports inside integrations
* Lint
* Fix automation tests
* Fix scene imports
2019-03-20 22:56:46 -07:00
Aaron Bach
4ca7273c58
Upgrade pyopenuv to 1.0.9 ( #21513 )
2019-02-27 17:51:09 -07:00