Commit graph

63 commits

Author SHA1 Message Date
GitHub Action
6364e81be5 [ci skip] Translation update 2022-02-24 00:17:55 +00:00
Franck Nijhof
3afadf8adb
Revert "Block peer certs on supervisor" () 2022-02-23 12:32:07 +01:00
Paulus Schoutsen
938b64081b
Block peer certs on supervisor ()
Co-authored-by: Pascal Vizeli <pvizeli@syshack.ch>
Co-authored-by: Mike Degatano <michael.degatano@gmail.com>
2022-02-22 13:59:40 -08:00
Joakim Sørensen
633e7e90ac
Deprecate the updater integration () 2022-02-22 14:46:46 +01:00
GitHub Action
ca7d4234e1 [ci skip] Translation update 2022-01-31 00:14:28 +00:00
epenet
6f631c542c
Import hassio ()
* Import hassio

* Fix HassioAPIError

* Use relative import

* Adjust import

Co-authored-by: epenet <epenet@users.noreply.github.com>
2022-01-20 19:03:26 +01:00
epenet
24314f1b11
Use Platform enum in load_platform [m-z] () 2022-01-10 10:45:11 +01:00
epenet
862daff622
Add binary_sensor setup type hints [s-z] ()
Co-authored-by: epenet <epenet@users.noreply.github.com>
2022-01-03 13:13:03 +01:00
epenet
18056f3a8a
Add init type hints [t-u] ()
Co-authored-by: epenet <epenet@users.noreply.github.com>
2022-01-01 22:06:11 -08:00
Robert Hillis
a3765b2977
Use enums in updated () 2021-12-16 12:52:29 +01:00
J. Nick Koston
10d6247fee
Bump to aiohttp 3.8.0 () 2021-11-04 10:07:50 -05:00
GitHub Action
f42c2f5170 [ci skip] Translation update 2021-10-02 12:59:05 +00:00
Joakim Sørensen
2171922265
Always show state for the updater binary_sensor () 2021-09-03 17:40:07 +02:00
Joakim Sørensen
bf494b5697
Remove distro from updater requirements () 2021-08-18 12:31:43 +02:00
Joakim Sørensen
e0a8ec4f62
Add device class update to the updater binary_sensor () 2021-08-17 08:30:35 +02:00
Milan Meulemans
be880fdaa9
Activate mypy for Updater () 2021-08-05 09:18:03 +02:00
GitHub Action
0c5ce9cac2 [ci skip] Translation update 2021-07-07 00:11:57 +00:00
Michael
9eecd90afc
Add constructor return type in integrations T-Z () 2021-05-20 17:00:19 +02:00
Franck Nijhof
055cdc64c0
Add support for IoT class in manifest () 2021-04-15 10:21:38 +02:00
Joakim Sørensen
78cff36f96
Remove analytics from updater () 2021-03-30 22:22:03 +02:00
HomeAssistant Azure
c11b85af2f [ci skip] Translation update 2021-03-16 00:04:36 +00:00
Erik Montnemery
1fc8e32d86
Update integrations t-z to override extra_state_attributes() () 2021-03-11 20:16:26 +01:00
Ville Skyttä
dc880118a4
Lint suppression cleanups ()
* Unused pylint suppression cleanups

* Remove outdated pylint bug references

* Add flake8-noqa config and note to run it every now and then

* Add codes to noqa's

* Unused noqa cleanups
2021-03-02 09:02:04 +01:00
Paulus Schoutsen
cc6293623f
Revert "Fix the updater schema ()" ()
This reverts commit 98be703d90.
2021-03-01 16:12:48 -08:00
Paulus Schoutsen
98be703d90
Fix the updater schema () 2021-02-28 14:41:06 +01:00
Joakim Sørensen
ea4ad85488
Replace StrictVersion with AwesomeVersion () 2021-02-10 15:25:44 +01:00
Philip Allgaier
4de9f5194f
Include current version in updater log output () 2021-01-10 21:37:55 +01:00
HomeAssistant Azure
c7ba2341e3 [ci skip] Translation update 2020-10-31 00:04:15 +00:00
HomeAssistant Azure
1417a4161f [ci skip] Translation update 2020-10-13 00:03:24 +00:00
J. Nick Koston
21f1875816
Update updater to use CoordinatorEntity () 2020-08-30 14:40:55 +02:00
Ville Skyttä
b4bac0f7a0
Exception chaining and wrapping improvements ()
* 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
5f95b5caaf
Fix lastest version in updater for Supervisor enabled installs ()
* Fix lastest version in update for Supervisor enabled installs

* Fix updater tests
2020-08-12 08:00:38 +02:00
Paulus Schoutsen
ac1f431f91
Bump updater timeout () 2020-08-09 14:10:27 +02:00
Ville Skyttä
c2a21fa496
Update coordinator improvements ()
* Make generic

* Add type info to bunch of uses

* Recognize requests exceptions

* Recognize urllib exceptions
2020-07-30 18:04:00 +03:00
J. Nick Koston
fca96799a0
Prevent updater from delaying startup ()
* Prevent updater from delaying startup

The updater sometimes times out as seen in
 and the linked issues. The issue was
presenting again today as it appears the service
is overloaded again.

* s/hass.loop/asyncio/g
2020-05-16 23:34:34 +02:00
Paulus Schoutsen
e54e9279e3
Extract instance ID helper from updater () 2020-05-04 11:23:12 -07:00
Erik Montnemery
b022e08db9
Rename BinarySensorDevice to BinarySensorEntity ()
* 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 () 2020-04-21 16:11:05 -07:00
Paulus Schoutsen
95357dfc55 Update translations 2020-04-20 16:33:54 -07:00
Paulus Schoutsen
0d60d40512 Update translations 2020-04-16 13:00:10 -07:00
Paulus Schoutsen
6119e79023
Migrate frontend translations of domains to backend () 2020-04-16 11:52:27 -07:00
Fabian Affolter
2af9f4fffe
Upgrade distro to 1.5.0 () 2020-04-11 12:55:02 +02:00
Paulus Schoutsen
f1d3c0d19b
Remove unused manifest fields () 2020-04-03 12:58:19 -07:00
Paulus Schoutsen
b27c46750c
Update error handling in update coordinator () 2020-03-04 08:05:46 -08:00
Paulus Schoutsen
0d474e1183
Update the update coordinator API to make it easier to use ()
* Update the update coordinator API to make it easier to use

* failed_last_update -> last_update_success
2020-02-06 09:29:29 -08:00
Paulus Schoutsen
e78378d90f
Pass correct config to updater () 2020-02-03 09:51:27 +01:00
Paulus Schoutsen
c67f53dc43
Remove hour delay before checking for updates ()
* Check for updates at startup

* Add 100% test coverage for update_coordinator

* Address comments
2020-02-01 08:14:28 -08:00
Franck Nijhof
bfa0edaf92 Migrate Integration Quality Scale from docs to manifest: internal () 2020-01-07 20:58:49 +01:00
Franck Nijhof
a84741392b
Format all manifests with prettier () 2020-01-06 21:28:23 +01:00
Ville Skyttä
5216477353
Be consistent with Home Assistant and Hass.io spelling ()
* Be consistent with Home Assistant spelling

* Be consistent with Hass.io spelling
2020-01-05 14:09:17 +02:00