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
HomeAssistant Azure
195d4b6897
[ci skip] Translation update
2020-08-27 00:04:55 +00:00
Aaron Bach
31e0ddaec5
Update Notion to use a DataUpdateCoordinator ( #38978 )
...
* Update Notion to use a DataUpdateCoordinator
* isort
* Bug
2020-08-21 08:10:12 -06:00
HomeAssistant Azure
e766a119d2
[ci skip] Translation update
2020-07-22 00:02:30 +00:00
HomeAssistant Azure
9092b83869
[ci skip] Translation update
2020-07-20 00:03:01 +00:00
HomeAssistant Azure
2e72216a1c
[ci skip] Translation update
2020-07-11 00:02:51 +00:00
HomeAssistant Azure
e48bcd2070
[ci skip] Translation update
2020-06-27 00:05:54 +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
973f66a974
[ci skip] Translation update
2020-05-22 00:05:00 +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
Aaron Bach
eb826e5956
Fix incorrect device registry call in Notion ( #35306 )
2020-05-06 18:42:32 -07:00
Aaron Bach
87d58a544b
Broader Notion exception handling ( #35265 )
2020-05-05 13:56:32 -06:00
HomeAssistant Azure
78f846d532
[ci skip] Translation update
2020-05-03 00:02:26 +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
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
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
HomeAssistant Azure
e1d66f6fdd
[ci skip] Translation update
2020-04-14 00:07:23 +00:00
springstan
78d87dc40f
Use TEMP_CELSIUS constant ( #33963 )
2020-04-10 19:17:46 +02:00
HomeAssistant Azure
ad619817c6
[ci skip] Translation update
2020-04-08 00:08:19 +00: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
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
HomeAssistant Azure
c89975adf6
[ci skip] Translation update
2020-03-27 00:46:57 +00:00
HomeAssistant Azure
763ed0dc7b
[ci skip] Translation update
2020-03-24 13:18:47 +00:00
Aaron Bach
1da35e2939
Add cleanup to Notion ( #32887 )
...
* Add cleanup to Notion
* Base update method
2020-03-17 07:01:40 -04:00
HomeAssistant Azure
104350265d
[ci skip] Translation update
2020-03-04 18:13:24 +00:00
HomeAssistant Azure
da959c8f7b
[ci skip] Translation update
2020-03-02 00:31:47 +00:00
HomeAssistant Azure
2d4ee01c1a
[ci skip] Translation update
2020-02-29 00:31:43 +00:00
HomeAssistant Azure
92988d60a7
[ci skip] Translation update
2020-02-27 00:31:50 +00:00
HomeAssistant Azure
ed461a0ad8
[ci skip] Translation update
2020-02-26 00:31:47 +00:00
Aaron Bach
c97b1c60b0
Modernize Notion config flow ( #32167 )
...
* Modernize Notion config flow
* Linting
2020-02-24 21:36:58 -08:00
HomeAssistant Azure
a2bea2cab8
[ci skip] Translation update
2020-02-09 00:31:39 +00:00
Aaron Bach
74fd57e23a
Fix issue with Notion dispatcher topic ( #31441 )
...
* Fix issue with Notion dispatcher topic
* Use f-string
2020-02-03 12:22:50 -07:00
Franck Nijhof
a84741392b
Format all manifests with prettier ( #30521 )
2020-01-06 21:28:23 +01:00
HomeAssistant Azure
13116d8d3f
[ci skip] Translation update
2019-12-30 00:32:19 +00:00
HomeAssistant Azure
169c4089ff
[ci skip] Translation update
2019-12-26 00:32:16 +00:00
springstan
6af30bc232
Move imports to top for notion ( #29539 )
...
* Move imports to top for notion
* Fix mocking library in test_config_flow.py
2019-12-06 12:40:00 -07:00
HomeAssistant Azure
1968a88336
[ci skip] Translation update
2019-11-22 00:32:10 +00:00
HomeAssistant Azure
08d662c0a5
[ci skip] Translation update
2019-11-14 00:32:16 +00:00
Aaron Bach
31131e4ac6
Add small speed improvement when unloading Notion ( #28757 )
2019-11-13 14:26:52 -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
HomeAssistant Azure
e005f6f23a
[ci skip] Translation update
2019-10-03 00:34:28 +00: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
24cbae6ec3
[ci skip] Translation update
2019-09-21 00:32:16 +00:00
HomeAssistant Azure
9df5c0ab86
[ci skip] Translation update
2019-09-10 00:32:37 +00:00
HomeAssistant Azure
e204d22a9e
[ci skip] Translation update
2019-09-08 00:32:16 +00:00
HomeAssistant Azure
0b1f389c76
[ci skip] Translation update
2019-09-07 00:32:45 +00:00
HomeAssistant Azure
1cbb895d20
[ci skip] Translation update
2019-09-05 10:11:41 +00:00
Paulus Schoutsen
385a496944
Update translations
2019-09-01 22:30:09 -07:00
Paulus Schoutsen
e69953fe2d
Update translations
2019-08-28 12:45:48 -07:00
Paulus Schoutsen
87119472a3
Update translations
2019-08-11 20:42:50 -07:00
Aaron Bach
3839eb0197
Fix issue with incorrect Notion bridge IDs ( #25683 )
...
* Fix issue with incorrect Notion bridge IDs
* Less aggressive
* Member comments
2019-08-05 00:11:28 +02: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
Aaron Bach
51a40c0441
Change unique_id formula for Notion entities ( #25076 )
...
* Change unique_id formula for Notion entities
* Don't use name
2019-07-11 07:31:03 +02:00
Paulus Schoutsen
5f5c541f2f
Update translations
2019-07-10 10:50:50 -07:00
Aaron Bach
c2e843cbc3
Add support for Notion Home Monitoring ( #24634 )
...
* Add support for Notion Home Monitoring
* Updated coverage
* Removed auto-generated translations
* Stale docstrings
* Corrected hardware version
* Fixed binary sensor representation
* Cleanup and update protection
* Updated log message
* Cleaned up is_on
* Updated docstring
* Modified which data is updated during async_update
* Added more checks during update
* More cleanup
* Fixed unhandled exception
* Owner-requested changes (round 1)
* Fixed incorrect scan interval retrieval
* Ugh
* Removed unnecessary import
* Simplified everything via dict lookups
* Ensure bridges are properly registered
* Fixed tests
* Added catch for invalid credentials
* Ensure bridge ID is updated as necessary
* Updated method name
* Simplified bridge update
* Add support for updating bridge via_device_id
* Device update guard clause
* Removed excess whitespace
* Whitespace
* Owner comments
* Member comments
2019-07-09 10:29:06 +02:00