Commit Graph

44183 Commits

Author SHA1 Message Date
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
Franck Nijhof
cb66685174 Drop Python 3.8 support (#63883) 2022-01-11 12:00:53 +01:00
Franck Nijhof
f92213201c Add myself as codeowner for LaMetric (#63887) 2022-01-11 11:34:58 +01:00
Marc Mueller
4d76ed9ceb Fix implicit reexport [helpers.condition] (#63830) 2022-01-11 11:03:10 +01:00
Ville Skyttä
1dd87810bc Generate supported python versions based on current and next required (#62618) 2022-01-11 10:50:17 +01:00
Erik Montnemery
f4e9187d01 Remove last_reset from vicare sensor (#63879) 2022-01-11 10:25:00 +01:00
Erik Montnemery
ccc4423c62 Remove last_reset from vesync sensor (#63877) 2022-01-11 10:01:47 +01:00
micha91
b4b758811f Fix MusicCast select current_option (#63668)
Co-authored-by: Franck Nijhof <frenck@frenck.nl>
2022-01-11 08:49:02 +01:00
epenet
431d15bf8b Remove deprecated async_get_scanner from fritz (#63857)
Co-authored-by: epenet <epenet@users.noreply.github.com>
2022-01-11 08:27:33 +01:00
epenet
d8a3a26444 Remove deprecated async_get_scanner from keenetic_ndms2 (#63860)
Co-authored-by: epenet <epenet@users.noreply.github.com>
2022-01-11 08:24:21 +01:00
epenet
8dcffc9993 Remove deprecated async_get_scanner from nmap_tracker (#63863)
Co-authored-by: epenet <epenet@users.noreply.github.com>
2022-01-11 08:23:50 +01:00
epenet
9bcdc2b847 Deprecate iCloud YAML configuration (#63875)
Co-authored-by: epenet <epenet@users.noreply.github.com>
2022-01-11 08:22:23 +01:00
epenet
0793445c40 Cleanup netgear platform schema (#63873)
* Cleanup netgear platform schema

* Cleanup config_flow

* Cleanup tests

* Cleanup CONF_APS constant

* Cleanup tests (take 2)

Co-authored-by: epenet <epenet@users.noreply.github.com>
2022-01-11 08:07:56 +01:00
Marc Mueller
bb765803dc Upgrade hangups to 0.4.17 (#63871) 2022-01-11 07:21:17 +01:00
Allen Porter
596edc8919 Add a stream_id parameter to the WebRTC provider (#63625)
* Add a stream_id parameter to the WebRTC provider

Add an additional stream id parameter (effectively, the camera entity id)
to allow updating an existing stream source when the strema changes. This
is useful for stream sources that have expiring URLs, like Nest.

* Redefine the provider using a type

* Use old typing methods for type definintion to pass python3.8 pylint
2022-01-10 17:56:18 -08:00
Duco Sebel
8f6e24aa1e Add HomeWizard Energy integration (#55812)
Co-authored-by: Matthias Alphart <farmio@alphart.net>
Co-authored-by: Paulus Schoutsen <paulus@home-assistant.io>
2022-01-10 16:23:31 -08:00
GitHub Action
d3cd813c5e [ci skip] Translation update 2022-01-11 00:14:57 +00:00
Paulus Schoutsen
51c98085e3 Bump frontend to 20211229.1 (#63866) 2022-01-10 16:13:08 -08:00
J. Nick Koston
173b890b21 Bump aioharmony to 0.2.9 (#63858) 2022-01-10 15:40:57 -08:00
J. Nick Koston
08337fbd36 Bump flux_led to 0.27.45 to fix missing controls on ZJ21410 models (#63854) 2022-01-10 15:40:45 -08:00
epenet
caff3e0630 Add type hints to get_scanner/async_get_scanner (#63836)
Co-authored-by: epenet <epenet@users.noreply.github.com>
2022-01-10 23:42:39 +01:00