HomeAssistant Azure
0a0a8fc67d
[ci skip] Translation update
2020-09-18 00:07:17 +00:00
springstan
90f5b178ef
Use AREA_SQUARE_METERS constant in all integrations ( #40107 )
2020-09-15 15:00:26 -06:00
springstan
db582bdc1b
Use http status constants more, add HTTP_ACCEPTED and HTTP_BAD_GATEWAY ( #39993 )
...
* Use http status codes and add HTTP_BAD_GATEWAY constant
* Address review comments:
- using constants in tado integration
- using constant in media_player init.py
* Add and use HTTP_ACCEPTED constant
2020-09-15 20:01:07 +03:00
springstan
621526bbae
Use moisture and moving device class in various integrations ( #39963 )
2020-09-13 16:33:54 +02:00
springstan
e55035b2f9
Use DEVICE_CLASS_MOTION in various integrations ( #39962 )
2020-09-12 16:20:30 -05:00
springstan
827711bcd1
Use problem, presence and plug device class constants in various integrations ( #39973 )
2020-09-12 13:23:24 -05:00
springstan
cee96ae207
Use opening and occupancy device class in various integrations ( #39965 )
2020-09-12 18:07:13 +02:00
springstan
ac2e290d97
Use sound, vibration and safety device class constants in various integrations ( #39952 )
...
* Use sound, vibration and safety device class constants in various integrations
* Fix wrong imports
2020-09-11 19:37:33 -05:00
springstan
d2b1918e9c
Drop UNIT_ prefix for percentage constant ( #39383 )
2020-09-05 21:09:14 +02: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
Andrew Sayre
bbda1272c2
Bump pysmartthings 0.7.3 ( #38732 )
2020-08-10 22:32:00 +02:00
Andrew Sayre
bb69aba051
Remove unused SmartThings capability subscriptions ( #38128 )
2020-07-31 17:40:23 +02:00
Andrew Sayre
ae5c50c1b6
Bump pysmartthings to v0.7.2 ( #38086 )
2020-07-22 16:01:57 -07:00
HomeAssistant Azure
650d61e4f3
[ci skip] Translation update
2020-07-19 00:03:02 +00:00
HomeAssistant Azure
e48bcd2070
[ci skip] Translation update
2020-06-27 00:05:54 +00:00
HomeAssistant Azure
b15caf31a9
[ci skip] Translation update
2020-06-15 00:03:32 +00:00
HomeAssistant Azure
d488c779fc
[ci skip] Translation update
2020-06-01 00:03:28 +00:00
Quentame
1855c91988
Use CONF_CLIENT_ID & CONF_CLIENT_SECRET from homeassistant.const ( #36233 )
...
* Use CONF_CLIENT_ID & CONF_CLIENT_SECRET from homeassistant.const
* Fix pylint
* Use in tests
* Search for "client_id"
* Fix tests
* Fix test
* Fix test
2020-05-30 17:27:20 +02:00
HomeAssistant Azure
56efc341dd
[ci skip] Translation update
2020-05-23 00:02:41 +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
Franck Nijhof
e3e3a113e9
async_get_url -> get_url ( #35382 )
2020-05-08 21:53:28 +02:00
Franck Nijhof
2223592486
Add get_url helper, deprecate base_url ( #35224 )
2020-05-08 02:29:47 +02:00
Paulus Schoutsen
34e35f6aa3
Add config flow base strings ( #34523 )
2020-05-04 20:10:39 -07:00
HomeAssistant Azure
78f846d532
[ci skip] Translation update
2020-05-03 00:02:26 +00:00
Ville Skyttä
752679c55d
Check isinstance on collections.abc, not typing classes ( #35087 )
2020-05-02 23:57:48 +02:00
HomeAssistant Azure
f4f2aff5b6
[ci skip] Translation update
2020-05-02 00:04:57 +00:00
HomeAssistant Azure
bd72ddda3c
[ci skip] Translation update
2020-05-01 00:02:55 +00:00
HomeAssistant Azure
5d37eb8eeb
[ci skip] Translation update
2020-04-30 00:03:17 +00:00
Andrew Sayre
6ae7f31947
SmartThings continue correct config flow after external auth ( #34862 )
2020-04-29 14:05:20 -07:00
HomeAssistant Azure
7faba60e83
[ci skip] Translation update
2020-04-29 00:03:31 +00:00
HomeAssistant Azure
e13f78dfc5
[ci skip] Translation update
2020-04-28 00:04:52 +00:00
HomeAssistant Azure
aa2bfbb541
[ci skip] Translation update
2020-04-27 00:02:20 +00:00
Erik Montnemery
066e921a8b
Rename SwitchDevice to SwitchEntity ( #34673 )
2020-04-26 18:50:37 +02:00
Erik Montnemery
e4333a7a44
Rename Light to LightEntity ( #34593 )
2020-04-26 18:49:41 +02:00
HomeAssistant Azure
90e0a1af8a
[ci skip] Translation update
2020-04-26 00:02:45 +00:00
Erik Montnemery
8c5c963b96
Rename CoverDevice to CoverEntity ( #34595 )
2020-04-25 18:07:15 +02:00
Erik Montnemery
29bc93ea98
Rename ClimateDevice to ClimateEntity ( #34591 )
2020-04-25 18:04:03 +02:00
Erik Montnemery
b30d117e7d
Rename LockDevice to LockEntity ( #34594 )
2020-04-25 18:02:41 +02:00
HomeAssistant Azure
5f775c1427
[ci skip] Translation update
2020-04-25 00:08:30 +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
HomeAssistant Azure
da87ec8499
[ci skip] Translation update
2020-04-23 00:05:07 +00: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
Franck Nijhof
bc5a2da7b7
Add transition support to scenes, cleanup blocking parameter ( #34434 )
2020-04-20 18:07:50 -07:00
Paulus Schoutsen
95357dfc55
Update translations
2020-04-20 16:33:54 -07:00
HomeAssistant Azure
6d7fb9f46a
[ci skip] Translation update
2020-04-20 00:04:37 +00:00
HomeAssistant Azure
d1b3ed717e
[ci skip] Translation update
2020-04-19 00:03:42 +00:00
HomeAssistant Azure
5007a9e702
[ci skip] Translation update
2020-04-18 00:04:07 +00: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
HomeAssistant Azure
0d8c75d9ce
[ci skip] Translation update
2020-04-16 00:04:36 +00: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
HomeAssistant Azure
55bec20b02
[ci skip] Translation update
2020-04-15 00:09:19 +00:00
Andrew Sayre
075030f15a
Update SmartThings config flow to be entirely UI based ( #34163 )
...
* bump pysmartthings 0.7.1
* Update config flow to use UI
* Code review comments and fix for resetting oauth client
* Replace html with markdown
2020-04-14 15:26:53 -07:00
springstan
d454c6a43d
Use MASS_KILOGRAMS constant ( #34052 )
2020-04-12 19:45:50 +02:00
springstan
04c4501455
Add and use UNIT_VOLT constant ( #33994 )
...
* Add and use UNIT_VOLT constant
* Run isort
2020-04-11 02:04:58 +02:00
springstan
bc26be3c11
Add and use HTTP_FORBIDDEN constant ( #33839 )
2020-04-09 17:41:17 +02:00
Franck Nijhof
39336d3ea3
Add prettier (in pre-commit and CI) ( #33693 )
...
* Add prettier (in pre-commit and CI)
* Make all file prettier
* Change order
* Add to Azure Pipelines
* Fix a YAML file prettier caught as invalid
* Remove flow mapping using curly braces from all YAML service files
2020-04-05 17:27:16 +02:00
Paulus Schoutsen
aaa1d06809
Directly call async_write_ha_state ( #33508 )
...
* Directly call async_write_ha_state
* Address comments
* Fix tests
2020-04-01 14:19:51 -07:00
HomeAssistant Azure
5bedc4ede2
[ci skip] Translation update
2020-03-29 00:04:45 +00:00
Paulus Schoutsen
d4615fd432
Freeze config entry data ( #32615 )
...
* Freeze config entry data
* Fix mutating entry.data
* Fix config entry options tests
2020-03-09 14:07:50 -07:00
springstan
f1a0ca7cd3
Add and use percentage constant ( #32094 )
...
* Add and use percentage constant
* Fix pylint error and broken test
2020-02-28 11:46:48 -08: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
Paulus Schoutsen
239dfaba4b
Do not use a set for hvac modes in SmartThings ( #31959 )
2020-02-18 12:09:56 -08:00
Franck Nijhof
0173c61fee
Spelling: Config(uration) ( #31782 )
2020-02-13 08:27:00 -08:00
HomeAssistant Azure
40e866a5bb
[ci skip] Translation update
2020-02-13 00:31:46 +00: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
HomeAssistant Azure
0534153ae7
[ci skip] Translation update
2020-01-13 00:31:54 +00: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
Ville Skyttä
fa4fa30461
Various string cleanups ( #30435 )
...
* Remove some unnecessary string concatenations
* Replace some simple str.formats with f-strings
* Replace some string concatenations with f-strings
2020-01-03 14:47:06 +01:00
Ville Skyttä
e6388e186c
Remove unnecessary string literal concatenations ( #30360 )
2020-01-02 21:17:10 +02:00
Andrew Sayre
914aea9446
Bump pysmartthings 0.7.0 ( #30302 )
2019-12-30 14:49:56 -06:00
HomeAssistant Azure
13116d8d3f
[ci skip] Translation update
2019-12-30 00:32:19 +00:00
Ville Skyttä
130571c478
Remove no longer needed auth.util, use secrets instead ( #29861 )
2019-12-12 16:46:33 +01:00
Paulus Schoutsen
e99184bf68
Install requirements of after_dependencies when loading integrations ( #29491 )
...
* Install requirements of after_dependencies when loading integrations
* Fix smartthings test
2019-12-05 09:28:56 +01:00
Bram Kragten
4065c46046
Fix smartthings cloud webhook ( #29219 )
...
* Fix smartthings cloud webhook
* Update smartapp.py
2019-11-29 18:29:45 +01:00
Ville Skyttä
d88ca0f5cb
Lint exclusions ( #28655 )
...
* Remove malformed pylint disable markers
* Remove some unused imports
* Remove some unneeded lint exclusions
* Remove more unneeded lint exclusions
* Add specific codes to all noqa's
2019-11-16 10:22:07 +01:00
Paulus Schoutsen
d98114d2ab
Guard cloud check ( #27901 )
...
* Guard cloud check
* Fix pos args
2019-10-18 20:08:53 -05:00
HomeAssistant Azure
d8e3255603
[ci skip] Translation update
2019-10-15 00:31:44 +00:00
HomeAssistant Azure
762a714d87
[ci skip] Translation update
2019-10-10 00:31:40 +00:00
Franck Nijhof
d4a67e3a30
Update documentation link URL for integrations (part2) ( #27117 )
2019-10-02 09:34:07 -07:00
Franck Nijhof
c7da781efc
Update documentation link URL for integrations in all manifests ( #27114 )
2019-10-02 09:25:44 -07:00
HomeAssistant Azure
b04a70995e
[ci skip] Translation update
2019-09-27 00:32:12 +00:00
HomeAssistant Azure
5d49d9c951
[ci skip] Translation update
2019-09-24 00:32:13 +00:00
HomeAssistant Azure
0b1f389c76
[ci skip] Translation update
2019-09-07 00:32:45 +00:00
HomeAssistant Azure
3b1a4a52e9
[ci skip] Translation update
2019-09-04 07:41:09 +00:00
Franck Nijhof
445c741b30
Use literal string interpolation in integrations R-S (f-strings) ( #26392 )
2019-09-03 21:14:39 +02:00
Andrew Sayre
3c07a9b4c7
Cleanup strings ( #26243 )
2019-08-27 17:08:09 -06:00
Andrew Sayre
b8460bb331
Always populate hvac_modes in SmartThings climate platform ( #25859 )
...
* Always return list for hvac_modes
* Use climate constants
2019-08-11 06:47:36 +02:00
Andrew Sayre
6909235d8a
Fix brightness type ( #25818 )
2019-08-09 11:41:50 -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
nierob
979f801488
Avoid creating temporary lists ( #25317 )
...
That gives nano performance improvements as *() is slightly faster
then *[].
2019-07-19 13:36:18 -07:00
Andrew Sayre
752d0deb97
Turn on device before setting mode ( #25314 )
2019-07-19 10:19:34 -07:00
Andrew Sayre
cfc2c58fe0
Restore SmartThings A/C on/off services ( #25259 )
...
* Restore ST A/C on/off services
* Use correct OFF const
* Support AC HVAC_MODE_OFF
2019-07-18 10:14:58 -07:00