1
0
mirror of https://github.com/elisspace/core.git synced 2026-09-02 18:35:52 +00:00
Commit Graph

62409 Commits

Author SHA1 Message Date
Marc Mueller
67c35652f0 Update typing - collections.abc (2) (#63934) 2022-01-12 09:04:37 +01:00
epenet
eafece3651 Add setup type hints (part 1) (#63955)
Co-authored-by: epenet <epenet@users.noreply.github.com>
2022-01-12 08:49:46 +01:00
Chris Talkington
fbb558618f Update rokuecp to 0.10.0 (#63951) 2022-01-12 01:29:47 -06:00
Chris Talkington
93075d5cea Reduce roku poll rate by 5s (#63952) 2022-01-12 01:29:20 -06:00
Marc Mueller
d057850971 Update typing - collections.abc (3) (#63947) 2022-01-12 08:04:17 +01:00
Marc Mueller
12757a8cd2 Update typing - collections.abc (1) (#63933)
* Update typing - collections.abc (1)

* Additional typing updates
2022-01-12 07:56:35 +01:00
Allen Porter
789c0a24dd Improve nest media player clip/image and event handling for multiple events in a short time range (#63149) 2022-01-11 20:54:49 -08:00
Stefan Agner
42706f780c Convert disabled_by to DeviceEntryDisabler on load (#63944)
Co-authored-by: Paulus Schoutsen <balloob@gmail.com>
2022-01-11 20:50:32 -08:00
Simone Chemelli
bdea7fad75 Fritz: introduce wrapper.py - part 1 (sensor) (#63682)
* Revert "Improve availability for Shelly Valve"

This reverts commit d8cbd81b456820153522e6d86bbd00c4a4a31129.

* Fritz: introduce api.py - part 1 (sensor)

* Revert

* coverage

* Apply review comments

* Better naming

* Coverage

* fix naming

* Avoid "ignore[no-any-return]"
2022-01-11 17:31:52 -10:00
GitHub Action
27dd4857df [ci skip] Translation update 2022-01-12 00:15:31 +00:00
Christopher Bailey
ce0b378e05 Removes ThumbnailProxyView (#63940) 2022-01-11 13:45:40 -10:00
Christopher Bailey
05ee5e0251 Simplify UniFi Protect service setup/cleanup (#63908)
Co-authored-by: J. Nick Koston <nick@koston.org>
2022-01-11 23:37:47 +01:00
Marc Mueller
240c9979c7 Move disallow-any-generics to mypy.ini (#63917) 2022-01-11 13:33:25 -08:00
Franck Nijhof
f4aa18de31 Replace hass.helpers: async_call_later() (#63929) 2022-01-11 13:30:59 -08:00
J. Nick Koston
259975c116 Add already_configured coverage to oncue (#63919) 2022-01-11 21:44:44 +01:00
Marc Mueller
dd39389a11 Use --py39-plus setting [pyupgrade] (#63927) 2022-01-11 21:38:17 +01:00
Marc Mueller
ef7316d8d9 Update typing (5) [tests] (#63926) 2022-01-11 21:28:13 +01:00
Marc Mueller
fa7e787415 Update typing (3) [k-t] (#63924) 2022-01-11 21:26:55 +01:00
Marc Mueller
bcb93d95bb Update typing (4) [u-z] (#63925) 2022-01-11 21:26:45 +01:00
Marc Mueller
d3b7bd25ef Update typing (1) (#63922) 2022-01-11 21:26:03 +01:00
Marc Mueller
4e2cd1bec0 Update typing (2) [a-i] (#63923) 2022-01-11 21:23:26 +01:00
G Johansson
17bf51a855 Implement lock to yale_smart_alarm (#63643) 2022-01-11 09:20:15 -10:00
Franck Nijhof
d3da791168 Fix missing full test suite in CI some cases (#63912)
* Fix missing full test suite in CI some cases

* Update .core_files.yaml

Co-authored-by: epenet <6771947+epenet@users.noreply.github.com>

* Add hassfest

Co-authored-by: epenet <6771947+epenet@users.noreply.github.com>
2022-01-11 19:07:15 +01:00
Erik Montnemery
2eab3c8de1 Import persistent notification (part 3) (#63900) 2022-01-11 09:51:16 -08:00
Erik Montnemery
9c9dc4cb8c Import websocket_api (part 1) (#63905) 2022-01-11 18:24:08 +01:00
epenet
4460aef040 Cleanup variable names in versasense (#63914)
Co-authored-by: epenet <epenet@users.noreply.github.com>
2022-01-11 18:18:39 +01:00
Matthias Alphart
dc58bc375a Warn ontime.sleep in event loop (#63766)
Co-authored-by: Martin Hjelmare <marhje52@gmail.com>
2022-01-11 17:55:24 +01:00
Franck Nijhof
20bdcc7fff Replace hass.helpers: async_get_clientsession() (#63910) 2022-01-11 17:33:50 +01:00
epenet
43aec6e784 Move list to dict in versasense discovery (#63809)
* Move list to dict in versasense discovery

* Adjust dictionnary key

Co-authored-by: epenet <epenet@users.noreply.github.com>
2022-01-11 17:29:39 +01:00
epenet
c6416955c6 Add type hints to setup_scanner (#63825)
* Add type hints to setup_scanner

* Fix aprs tests

* Revert "Add type hints to setup_scanner"

This reverts commit 3e8b2954843ee978d356e01ae5976528c74e54dc.

* Revert "Fix aprs tests"

This reverts commit 854b37aee8394e3e59ee48122226a50b8ddcf8bb.

* Add type hints to setup_scanner

* Fix aprs tests

Co-authored-by: epenet <epenet@users.noreply.github.com>
2022-01-11 17:29:04 +01:00
epenet
4eae888546 Fix incorrect type hint in config_per_platform helper (#63890)
* Adjust base helper

* Filter type is not None in mailbox

* Filter empty platforms in device_tracker

* Filter out empty platform in notify

* Filter out empty platform in entity_component

Co-authored-by: epenet <epenet@users.noreply.github.com>
2022-01-11 17:28:37 +01:00
Erik Montnemery
6eb0447566 Import websocket_api (part 3) (#63907) 2022-01-11 17:26:37 +01:00
Erik Montnemery
3b7448bb1c Import websocket_api (part 2) (#63906) 2022-01-11 17:26:25 +01:00
Allen Porter
aab5a097a0 Bump google-cloud-pubsub to 2.9.0 (attempt #3) (#63911) 2022-01-11 17:25:50 +01:00
Erik Montnemery
8d6e2ae354 Import persistent notification part 1 (#63898) 2022-01-11 17:24:59 +01:00
Jan Bouwhuis
65deaa1daf Always send hvac_mode deprecate send_if_off (#63814) 2022-01-11 17:12:48 +01:00
Jan Bouwhuis
aa73e5bd72 Fix MQTT climate optimistic preset modes (#63463)
* Always publish when preset_mode is set

* Revert "Fixed isort error"

This reverts commit 1a3c5e6460a50a75dd334331e3a9b14d0dedabe3.

* isort
2022-01-11 17:08:26 +01:00
Erik Montnemery
a672dc3437 Import persistent notification (part 4) (#63901) 2022-01-11 16:57:40 +01:00
G Johansson
4b6e196606 Improve code quality alarm_control_panel in yale_smart_alarm (#63672)
* Code quality yale_smart_alarm

* Raise error on arming

* Raise error if not possible to arm/disarm

* Type checking and settings properties

* Fix direct write state
2022-01-11 07:49:46 -08:00
Daniel Perna
f4f1ea4068 Update pyhomematic to 0.1.77 (#63848)
* Update pyhomematic to 0.1.77

* Add HmIP-STE2

* Add HmIPW-SPI
2022-01-11 16:45:33 +01:00
Stefan Agner
0a9927d18e Avoid locking the database for non-SQLite backends (#63847)
* Avoid locking the database for non-SQLite backends

Currently we only have a lock implementation for SQLite. Just return
success for all other databases as they are not expected to store data
in the config directory and the caller can assume that a backup can
be safely taken.

This fixes `RuntimeError: generator didn't yield` errors when creating
a backup with the current Supervisor dev builds.
2022-01-11 16:17:56 +01:00
epenet
f2a6118435 Fix waqi config parsing (#63897)
Co-authored-by: epenet <epenet@users.noreply.github.com>
2022-01-11 15:05:07 +01:00
Franck Nijhof
1c29260a31 Update Pillow to 9.0.0 (#63894) 2022-01-11 14:28:48 +01:00
Erik Montnemery
13abac101b Drop legacy support for sensor sum statistics (#63884) 2022-01-11 13:59:08 +01:00
Erik Montnemery
3083f059cc Drop last_reset attribute for non 'total' sensors (#63880)
* Drop last_reset attribute for non 'total' sensors

* Adjust MQTT tests

* Add exception for utility_meter

* Rewrite exception for utility_meter

* Add comment in utility_meter

* Tweak comment
2022-01-11 13:58:35 +01:00
Marc Mueller
f3bc9fc740 Update Python version used for pylint (#63895) 2022-01-11 13:41:57 +01:00
epenet
277c12cf64 Add setup type hints to envisalink (#63785)
Co-authored-by: epenet <epenet@users.noreply.github.com>
2022-01-11 13:39:52 +01:00
Michael Chisholm
dc71d59141 dlna_dmr: Allow for upnp attributes with None contents (#63892) 2022-01-11 13:36:46 +01:00
Franck Nijhof
396825ab92 Update pyupgrade to v2.31.0 (#63888) 2022-01-11 13:22:16 +01:00
Franck Nijhof
c71e2b1d5b Update wheels builder to 2022.01.0 (#63882) 2022-01-11 12:21:40 +01:00