Commit Graph

32386 Commits (f0fdd7d65082fa5768ee2488a78b3107102dc009)

Author SHA1 Message Date
Simon Hansen 043b9c66b0
Add missing type annotation for launch library (#64131)
* Add missing type annotation in config flow

* Add import

* Add default None

* Fix black

* Fix linting
2022-01-14 22:15:38 +01:00
Clifford Roche fede0f8e66
Bump greeclimate to 1.0.2 (#64138) 2022-01-14 22:11:29 +01:00
Rob Bierbooms efe34c8d13
Cleanups in Twinkly code (#64139)
* Cleanup Twinkly code

* Add codeowner'

* Change const names
2022-01-14 22:07:15 +01:00
Michael e609f196bc
add @mib1185 as codeowner (#64134) 2022-01-14 22:06:36 +01:00
G Johansson 99f36c9a8b
Implement DeviceInfo in smhi (#64126)
* Implement DeviceInfo in smhi

* Change model
2022-01-14 19:39:41 +01:00
Duco Sebel 19c65abaa6
Fix initial HomeWizard integration issues (#63921)
* Use helper for setup and unload

* Set mutable object in __init__

* Move logic out of try..except

* Print stack trace on error in config flow

* Don't catch broad except in update_coordinator, already handled

* Fix typo

* Combine available with super.available()

* Fix issues with config_flow test

* Test coordiantor indirectly

* Test coordinator by moving time forward

* set utcnow beforehand and increase timedelta

* Roll back f658749

* Rolled back the rollback and fixed timing

* Move setting time after adding to hass
2022-01-14 19:28:24 +01:00
Paulus Schoutsen 2f18058fe7
Allow browsing favorites in Sonos media browser (#64082)
* Allow browsing favorites in Sonos media browser

* Group favorites by type, add thumbnails

* Update homeassistant/components/sonos/media_player.py

* Apply suggestions from code review

Co-authored-by: Martin Hjelmare <marhje52@gmail.com>

* Keep favorite groups ordering consistent

* Skip root folder if only one child available

Co-authored-by: Jason Lawrence <jjlawren@users.noreply.github.com>
Co-authored-by: Martin Hjelmare <marhje52@gmail.com>
2022-01-14 09:28:25 -08:00
Maciej Bieniek 3265a09083
Fix changing the preset mode (#64119) 2022-01-14 17:24:54 +01:00
Marc Mueller b17860a7dd
Upgrade boto3 to 1.20.24 + aiobotocore to 2.1.0 (#64045) 2022-01-14 17:10:09 +01:00
Marc Mueller 0407f60955
Upgrade enturclient to 0.2.3 (#64121) 2022-01-14 16:49:47 +01:00
epenet 3049f820b8
Add setup type hints to raspihats (#63988)
* Use DOMAIN to store hass.data

* Add setup type hints to binary_sensor

* Add setup type hints to switch

* Adjust callback registration

* Revert "Adjust callback registration"

This reverts commit 88c179f870.

Co-authored-by: epenet <epenet@users.noreply.github.com>
2022-01-14 16:43:52 +01:00
epenet 2c0033254b
Import cloud (#64116)
* Add type hints to cloud

* Import cloud

* Adjust smartthings tests

Co-authored-by: epenet <epenet@users.noreply.github.com>
2022-01-14 16:35:35 +01:00
epenet 9f61aecd5e
Import onboarding (#64115)
* Add type hints to onboarding

* Import onboarding

Co-authored-by: epenet <epenet@users.noreply.github.com>
2022-01-14 16:29:48 +01:00
Shay Levy 532c3aca33
Bump aprslib to 0.7.0 (#64093) 2022-01-14 16:28:30 +01:00
epenet 5db1dd2e41
Deprecate Raspihats (ADR-0019) (#64113)
Co-authored-by: epenet <epenet@users.noreply.github.com>
2022-01-14 14:03:31 +01:00
epenet e492cb5156
Import webhook in netatmo (#64105)
* Import webhook in netatmo

* Adjust tests

Co-authored-by: epenet <epenet@users.noreply.github.com>
2022-01-14 13:01:14 +01:00
epenet 0042bb68d9
Cleanup ADS constants and add type hints (#63390)
Co-authored-by: epenet <epenet@users.noreply.github.com>
2022-01-14 12:58:12 +01:00
G Johansson 55143e240b
Add DeviceInfo to trafikverket_weatherstation (#64083)
* Add DeviceInfo to trafikverket_weatherstation

* Correct DeviceInfo
2022-01-14 12:42:59 +01:00
epenet c1692a324b
Add type hints to tts (#64050)
* Add type hint for _get_cache_files

* Add type hint for _init_tts_cache_dir

* Add init type hints for async_clear_cache

* Add type hints to async_setup_platform

* Add type hints to async_register_engine

* Add type hints to self.providers

* Add type hints to _async_store_to_memcache

* Add type hints to async_file_to_mem

* Add full type hints

* Use tuple in async_read_tts

Co-authored-by: epenet <epenet@users.noreply.github.com>
2022-01-14 12:35:29 +01:00
epenet 44a686931e
Import webhook (#64102)
* Import webhook

* Adjust webhook trigger

* Fix pylint

* Add type hints to async_handle_webhook

* Revert changes to netatmo

Co-authored-by: epenet <epenet@users.noreply.github.com>
2022-01-14 12:31:02 +01:00
Joakim Sørensen 0eff3e4b26
Bump aiogithubapi to 22.1.0 (#64109) 2022-01-14 11:50:31 +01:00
Erik Montnemery 537dfbca18
Rename cloud's AlexaConfig to CloudAlexaConfig (#64065)
* Rename cloud's AlexaConfig to CloudAlexaConfig

* Tweak
2022-01-14 11:09:39 +01:00
epenet 3763407046
Move list to dict in supla discovery (#63805)
* Move list to dict in supla discovery

* Adjust key

Co-authored-by: epenet <epenet@users.noreply.github.com>
2022-01-14 10:11:04 +01:00
epenet 65f21891db
Move list to dict in repetier discovery (#64001)
* Move list to dict in repetier discovery

* Add setup type hints to repetier
2022-01-14 10:10:40 +01:00
epenet 946238fb02
Import frontend (#64104)
Co-authored-by: epenet <epenet@users.noreply.github.com>
2022-01-14 10:01:12 +01:00
Allen Porter 4bce92dd2d
Bump google-nest-sdm to 1.4.0 (#64098) 2022-01-14 10:35:13 +02:00
RenierM26 a4656bc7bc
Ezviz dependancy to 0.2.0.6 (#64100)
* Ezviz dependency to 0.2.0.6

* Gen requirements
2022-01-14 10:33:49 +02:00
Allen Porter 64c5f69c3d
Add thumbnails to nest media player (#62532) 2022-01-13 22:31:33 -08:00
Anton Malko 6a3de6ab10
Add light platform to LOOKin (#64076) 2022-01-13 17:07:02 -10:00
epenet 59c84f9586
Explicitly allow Mapping type hint in config entry async_update_entry (#63986)
* Allow MappingProxyType in async_update_entry

* Add setup type hints to ps4

* Adjust type hint to Mapping

Co-authored-by: epenet <epenet@users.noreply.github.com>
2022-01-14 04:06:19 +01:00
J. Nick Koston b064a24123
Add select platform to senseme (#64086)
Co-authored-by: Martin Hjelmare <marhje52@gmail.com>
2022-01-13 17:04:52 -10:00
Patrik Lindgren b52a8ba37a
Bump pytradfri to 8.0.1 and fix fan preset mode "Auto" bug (#63920)
* Move util functions

* Fix errors

* Revert changes

* Fix tests

* Use self.async_set_percentage()

* Fix calculation functions and associated tests

* Handle case of 0

* Update tests/components/tradfri/test_util.py

Co-authored-by: Martin Hjelmare <marhje52@gmail.com>

* Update tests/components/tradfri/test_util.py

Co-authored-by: Martin Hjelmare <marhje52@gmail.com>

* Update tests/components/tradfri/test_util.py

Co-authored-by: Martin Hjelmare <marhje52@gmail.com>

* Handle case of 0

* Update homeassistant/components/tradfri/fan.py

Co-authored-by: Martin Hjelmare <marhje52@gmail.com>

Co-authored-by: Martin Hjelmare <marhje52@gmail.com>
2022-01-14 04:01:24 +01:00
ollo69 a978661545
Address late review of Minor AndroidTV config flow (#64088)
* Minor changes for AndroidTV config flow

* Add mark.parametrize to media_player tests
2022-01-14 02:05:35 +01:00
J. Nick Koston 33ca1bb7d9
Bump flux_led to 0.28.3 to fix setting colorloop on older models (#64094)
Fixes #64087
2022-01-14 01:43:39 +02:00
Mick Vleeshouwer 5e3bfabfcf
Add select entity to Overkiz integration (#62916) 2022-01-13 12:35:44 -10:00
mletenay c3c14563e5
Update to goodwe library v0.2.15 (#64089) 2022-01-14 00:34:59 +02:00
Marc Mueller cb976fa3b4
Upgrade pyserial-asyncio to 0.6 (#64041) 2022-01-14 00:31:28 +02:00
Marc Mueller 77ea432b9e
Upgrade vallox-websocket-api to 2.9.0 (#64055) 2022-01-13 22:47:31 +01:00
G Johansson d53e5dfc2d
Add gjohansson-ST as codeowner to trafikverket_train (#64081) 2022-01-13 22:21:59 +01:00
Mick Vleeshouwer 3fcdaa8a5d
Don't close HA aiohttp session in Overkiz Config Flow (#64052) 2022-01-13 21:35:07 +01:00
epenet 4bdc0c7120
Adjust device_tracker type hints (#64054)
Co-authored-by: epenet <epenet@users.noreply.github.com>
2022-01-13 21:29:38 +01:00
Raman Gupta 867f8237e9
Remove attributes from vizio state when they don't make sense (#64025)
* Remove attributes from vizio state when they don't make sense

* rename var
2022-01-13 20:59:55 +01:00
Erik Montnemery 0fa4f616ed
Remove Windows workarounds from ping (#64069) 2022-01-13 20:43:00 +01:00
Erik Montnemery abce453b5c
Remove Windows workarounds from wake_on_lan (#64070) 2022-01-13 20:42:30 +01:00
Erik Montnemery be628a7c4d
Keep track of Alexa authorization status (#63979) 2022-01-13 09:47:31 -08:00
Rob Bierbooms 49a32c398c
Add support for setting RGB and RGBW values for Twinkly lights (#62337)
* Change library to ttls

* Add rgbw support

* Add client session to config flow

* Fix config flow

* Adjust tests 1

* Fix more tests

* Fix last tests

* Add new tests

* Update test for coverage

* Update test for coverage 2

* Update test for coverage 3

* Change brightness to attribute

* Set RGBW mode only when available

* Add RGB support
2022-01-13 18:44:27 +01:00
Petro31 5f9a351889
Remove warnings from compensation (#63691) 2022-01-13 18:33:02 +01:00
Zac West 2df8ab865f
Allow name-only location updates for mobile_app device_tracker (#62243) 2022-01-13 09:30:36 -08:00
J. Nick Koston 06fd75be7e
Ensure august status is current when integration loads (#64027) 2022-01-13 18:26:47 +01:00
Marcel van der Veldt ab0d512a5f
Add guard in Hue availability check (#64062) 2022-01-13 09:18:34 -08:00
epenet c8043eccc9
Fix yamaha discovery (#64056)
Co-authored-by: epenet <epenet@users.noreply.github.com>
2022-01-13 15:32:39 +01:00
epenet c495317a71
Adjust mailbox type hints (#64051)
Co-authored-by: epenet <epenet@users.noreply.github.com>
2022-01-13 14:53:38 +01:00
epenet 5f0fcb1a70
Add setup type hints to script (#64030)
Co-authored-by: epenet <epenet@users.noreply.github.com>
2022-01-13 14:24:58 +01:00
Franck Nijhof bb9d4c1e2c
Update wled to 0.11.0 (#64048) 2022-01-13 14:22:29 +01:00
epenet 7c0dc2ff1f
Add typing to async_get_handler in demo (#64029)
Co-authored-by: Franck Nijhof <git@frenck.dev>
Co-authored-by: epenet <epenet@users.noreply.github.com>
2022-01-13 14:20:05 +01:00
Marc Mueller 84552d2406
Upgrade oauth2client to 4.1.3 (#64044) 2022-01-13 14:04:52 +01:00
Mick Vleeshouwer 105a7e5109
Simplify Overkiz coordinator (step 2) and address feedback (#64028) 2022-01-13 13:45:39 +01:00
Franck Nijhof 754e291e1e
Remove unused serial number config entry data from Elgato (#64035) 2022-01-13 13:17:16 +01:00
Franck Nijhof 99798223d9
Elgato refactoring; add base entity (#64034) 2022-01-13 13:09:08 +01:00
epenet bd859f428a
Add setup type hints to group (#64002)
Co-authored-by: epenet <epenet@users.noreply.github.com>
2022-01-13 12:25:20 +01:00
Franck Nijhof af23a23888
Update elgato to 3.0.0 (#64033) 2022-01-13 11:42:26 +01:00
epenet 04d2c6e0bf
Use Platform enum in load_platform (#63903)
Co-authored-by: epenet <epenet@users.noreply.github.com>
2022-01-13 10:46:16 +01:00
epenet ed5e1af10a
Add type hints to media_player (part 2) (#64006) 2022-01-13 10:43:52 +01:00
epenet 5cd73170de
Add type hints to media_player (part 1) (#64005)
* Add type hints to media_player (part 1)

* Fix roku to match
2022-01-13 10:36:44 +01:00
G Johansson c021e58ee2
Implement binary_sensor in yale_smart_alarm (#63937) 2022-01-12 23:34:43 -10:00
Erik Montnemery b196064540
Import persistent notification (part 5) (#63902) 2022-01-13 08:45:30 +01:00
Erik Montnemery 03593aa21b
Import persistent notification (part 2) (#63899) 2022-01-13 08:42:50 +01:00
Robert Svensson bc7624b417
Fix UniFi remove client service if time stamps are not integers (#63998)
* Only calculate total time if first and last seen are ints, else remove client

* Update homeassistant/components/unifi/services.py

Co-authored-by: Paulus Schoutsen <paulus@home-assistant.io>

* Update homeassistant/components/unifi/services.py

Co-authored-by: Paulus Schoutsen <paulus@home-assistant.io>
2022-01-13 08:15:40 +01:00
epenet 91c47264b5
Add setup type hints to rfxtrx (#63963)
Co-authored-by: epenet <epenet@users.noreply.github.com>
2022-01-13 07:00:14 +01:00
Christopher Bailey 20768172b1
Improve UniFi Protect Smart Sensor support (#64019)
Co-authored-by: J. Nick Koston <nick@koston.org>
2022-01-12 17:54:22 -10:00
J. Nick Koston cafbcb634a
Bump nexia to 0.9.13 to fix setting emergency heat (#64020) 2022-01-12 16:12:30 -10:00
J. Nick Koston 35c5bd0a70
Bump flux_led to 0.28.2 to fix older A3 not being able to setup (#64017) 2022-01-12 16:12:07 -10:00
Chris Talkington 4b11a4365b
Add content deeplinking support to roku (#64010) 2022-01-12 20:07:11 -06:00
J. Nick Koston 7fc1306898
Ensure flux_led is reloaded when the ICtype is changed (#64016) 2022-01-12 15:57:12 -10:00
epenet 128256a3ee
Fix invalid type hint in discovery async_listen (#63987)
* Fix invalid type hint in discovery async_listen

* Add setup type hints to sabnzbd

Co-authored-by: epenet <epenet@users.noreply.github.com>
2022-01-13 02:43:43 +01:00
epenet ea08e0d62d
Set event data as dict in foursquare.checkin event (#63982)
Co-authored-by: epenet <epenet@users.noreply.github.com>
2022-01-13 02:37:48 +01:00
epenet 4fad49ec57
Add setup type hints to proximity (#63990)
Co-authored-by: epenet <epenet@users.noreply.github.com>
2022-01-13 02:30:10 +01:00
Mick Vleeshouwer 1cf2f0b944
Simplify coordinator and import OverkizStateType (#63969) 2022-01-13 02:23:20 +01:00
GitHub Action 090a9f94f0 [ci skip] Translation update 2022-01-13 00:15:26 +00:00
Jonathan Keslin f43c4d51e1
Address late review of VeSync (#63945)
* Fast follow improvements to VeSync

* Apply suggestions to other platforms, use async_on_unload

* Rename dev_list to entities
2022-01-13 00:38:39 +01:00
Robert Svensson 59cea56e17
Fix reconnect rather than reauth when both HA and UniFi controller restarts at the same time (#63994) 2022-01-12 15:08:04 -08:00
J. Nick Koston d3f980d402
Convert siri requests for target heating cooling state auto to a valid mode (#60220) 2022-01-12 15:06:09 -08:00
J. Nick Koston b23be22c67
Add light platform to SenseME (#63772)
Co-authored-by: Big Mike <mikelawrence@users.noreply.github.com>
2022-01-12 15:04:00 -08:00
J. Nick Koston 1c6ca908d1
Add support for changing the white strip type to flux_led (#63943) 2022-01-12 15:03:09 -08:00
J. Nick Koston 5622db10b1
Fix HomeKit reporting/setting colors when white values are present (#63948) 2022-01-12 14:58:25 -08:00
J. Nick Koston 1019156899
Fix homekit options being mutated during config_flow/migration (#64003) 2022-01-12 14:56:24 -08:00
Christopher Bailey f034ea5b4b
Enable package camera by default for UniFi Protect (#63985) 2022-01-12 11:27:41 -10:00
Christopher Bailey 6473069be1
Add Chime Type select for UniFi Protect (#63993) 2022-01-12 08:55:44 -10:00
Christopher Bailey c6ef2bcdab
Bump pyunifiprotect version to 1.6.1 for UniFi Protect (#63989) 2022-01-12 07:38:21 -10:00
Franck Nijhof 6fe2c135cd
Update shodan to 1.26.0 (#63827) 2022-01-12 08:59:36 -08:00
Franck Nijhof b14eeca99b
Revert "Weather units: Buienradar (1.2/4) (#61470)" (#63843)
This reverts commit b5d55ce7bc.
2022-01-12 08:59:05 -08:00
Franck Nijhof f93d999260
Revert "Weather units: climacell (1.3/4) (#61472)" (#63842)
This reverts commit 48057e1dfb.
2022-01-12 08:58:33 -08:00
Franck Nijhof 28d49e69c1
Expose WLED configuration URL of discovered device (#63983)
* Expose WLED configuration URL of discovered device

* Add test
2022-01-12 08:57:15 -08:00
Robert Svensson e37456fb36
Move DPI Group logic to UniFi switch platform (#58761)
* Library has normalized management of DPI apps and groups, move logic to UniFi integration

* Bump dependency to v29

* Use a generator instead of a list - Pylint

* Minor improvements

* Improve doc strings
2022-01-12 17:11:05 +01:00
Simon Hansen 0fadce751f
Use EntityDescription in launch_library (#63685)
Co-authored-by: Joakim Sørensen <hi@ludeeus.dev>
2022-01-12 14:44:29 +01:00
kezziny 2df3c85ba6
Fix discord component using userid as target (#63972) 2022-01-12 14:37:22 +01:00
Milan Meulemans a6fe1c24ab
Fix typo in tuya select strings (#63974) 2022-01-12 14:34:23 +01:00
epenet bcd2ec977d
Add setup type hints to mailboxes (#63975)
* Add setup type hints to asterisk_cdr mailbox

* Add setup type hints to asterisk_mbox mailbox

Co-authored-by: epenet <epenet@users.noreply.github.com>
2022-01-12 14:25:37 +01:00
Eduard van Valkenburg 296ebc08c0
Bump brunt to 1.1.1 (#63973) 2022-01-12 14:04:23 +01:00
Marc Mueller 2d2944d186
Enable `deprecated-typing-alias` check [pylint] (#63935) 2022-01-12 13:53:34 +01:00
epenet 1a46a6687e
Add setup type hints to mailbox (#63792)
* Add setup type hints to mailbox

* Add more type hints

* 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-12 13:44:36 +01:00
Franck Nijhof 7a699480d4
Add strict typing to LaMetric (#63891)
* Add strict typing to LaMetric

* Forgot about Pylint 🙈
2022-01-12 13:39:12 +01:00
Glenn Waters 1d9318233d
Remove dead code in Environment Canada integration (#63946) 2022-01-12 13:11:04 +01:00
epenet ec1b45c922
Add setup type hints (part 3) (#63961)
* Drop return value from vesync

* Add setup type hints to netgear_lte

* Drop return value from hyperion

* Add setup type hints to opentherm_gw

Co-authored-by: epenet <epenet@users.noreply.github.com>
2022-01-12 12:53:50 +01:00
epenet 0d58887bc0
Add setup type hints in bluetooth_le_tracker (#63828)
Co-authored-by: epenet <epenet@users.noreply.github.com>
2022-01-12 09:29:05 +01:00
epenet 29d58e427b
Add setup type hints (part 2) (#63960)
* Add setup type hints to demo

* Add setup type hints to group

Co-authored-by: epenet <epenet@users.noreply.github.com>
2022-01-12 09:28:14 +01:00
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
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
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
Franck Nijhof f4aa18de31
Replace hass.helpers: async_call_later() (#63929) 2022-01-11 13:30:59 -08: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 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
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
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 3e8b295484.

* Revert "Fix aprs tests"

This reverts commit 854b37aee8.

* 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 1a3c5e6460.

* 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 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
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