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