Commit Graph

34934 Commits (4f5859c61297f7c0c27f46711ce18e8bda922991)

Author SHA1 Message Date
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
Franck Nijhof d1eecba36a
Pin libcst==0.3.23 (#64036) 2022-01-13 18:25:28 +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
Marc Mueller c7e05cb44a
Upgrade yarl to 1.7.2 (#64009) 2022-01-12 14:07:11 -10:00
Marc Mueller 1dfb929986
Upgrade async_timeout to 4.0.2 (#64008) 2022-01-13 00:49:31 +01: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
Marc Mueller 0922627612
Remove unused pillow 8.2.0 constraint (#64011) 2022-01-13 00:28:32 +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 8460c2f66d
Improve typing [helpers.entity_registry] (#63767) 2022-01-12 14:00:22 +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
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
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
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 on`time.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 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
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
epenet d76d9f9e42
Add type hint to get_scanner in ubus (#63856) 2022-01-10 23:30:15 +01:00
epenet edc4d3bb6e
Fix invalid get_scanner return value in unify_direct (#63855) 2022-01-10 23:23:40 +01:00
epenet f24b3509a7
Remove deprecated async_get_scanner from netgear (#63862) 2022-01-10 22:54:35 +01:00
Kevin Hellemun 6d162929a6
Add xiaomi_miio vacuum current cleaning cycle statistics sensor (#61098) 2022-01-10 22:49:59 +01:00
epenet 0ac9b62f97
Fix incorrect type hint in async_setup_scanner (#63833)
Co-authored-by: epenet <epenet@users.noreply.github.com>
2022-01-10 22:47:24 +01:00
Christopher Bailey 0030f114f9
Add UniFi Protect global services (#63768)
Co-authored-by: J. Nick Koston <nick@koston.org>
2022-01-10 11:04:53 -10:00
epenet 52959cf48c
Remove ee brightbox integration (#63839)
Co-authored-by: epenet <epenet@users.noreply.github.com>
2022-01-10 20:21:46 +01:00
Franck Nijhof 003a1e87a7
Remove unneeded boolean conversion from senseme (#63783) 2022-01-10 09:12:57 -10:00
Jonathan Keslin 56c577c832
Expose power & energy usage of VeSync outlets as separate sensors (#61837) 2022-01-10 09:39:31 -08:00
Marc Mueller 021debb5c5
Resolve implicit imports (#63832) 2022-01-10 17:10:46 +01:00
epenet 8fcca8c88b
Allow None agent in conversation (#63761) 2022-01-10 17:02:54 +01:00
Guido Schmitz eacd9f9994
Bump devolo-plc-api to 0.7.1 (#63834) 2022-01-10 16:56:04 +01:00
epenet e3784b9c3e
Add setup type hints to yamaha (#63811)
Co-authored-by: Franck Nijhof <git@frenck.dev>
Co-authored-by: epenet <epenet@users.noreply.github.com>
2022-01-10 16:45:59 +01:00
epenet 505320f827
Add setup type hints to season (#63798)
Co-authored-by: epenet <epenet@users.noreply.github.com>
2022-01-10 16:38:32 +01:00
Marc Mueller 01baa20671
Fix implicit reexport [dt_util] (#63829) 2022-01-10 16:31:23 +01:00
epenet c6aaa24027
Add type hints to async_setup_scanner (#63826)
Co-authored-by: epenet <epenet@users.noreply.github.com>
2022-01-10 16:13:54 +01:00
epenet 896885a2c3
Add setup type hints to supervisord (#63807)
Co-authored-by: epenet <epenet@users.noreply.github.com>
2022-01-10 16:12:17 +01:00
jjlawren 740a8c33ee
Add `audio_delay` number entity to Sonos (#63566) 2022-01-10 16:04:40 +01:00
dougiteixeira e2f9284c55
Fix the translation strings for Tuya Select (#63353) 2022-01-10 15:55:09 +01:00
Robert Hillis 7c51d2f159
Add strict typing to abode (#57673) 2022-01-10 15:54:09 +01:00
epenet bc2f4e82e3
Add setup type hints to nx584 (#63796)
Co-authored-by: epenet <epenet@users.noreply.github.com>
2022-01-10 15:43:34 +01:00
epenet 0471a9e885
Add setup type hints to workday (#63810)
* Add setup type hints to workday

* Adjust dict accessor

* Adjust tests

* Undo changes to tests

* Adjustments to loading of config

* Once more

Co-authored-by: epenet <epenet@users.noreply.github.com>
2022-01-10 15:21:16 +01:00
Knodd 40d0a6e99e
Support Tuya strip lights with correct values for saturation and brightness (#63812)
Co-authored-by: Franck Nijhof <git@frenck.dev>
2022-01-10 15:21:03 +01:00
Franck Nijhof 2e97719650
Update sentry-sdk to 1.5.2 (#63821) 2022-01-10 15:14:39 +01:00
epenet c370a4b987
Use local constant in netgear_lte config schema (#63753)
Co-authored-by: epenet <epenet@users.noreply.github.com>
2022-01-10 15:13:30 +01:00
Joakim Sørensen d1bb916070
Add client metadata to cloud register (#63794) 2022-01-10 14:49:25 +01:00
epenet ca4cd4fbda
Add setup type hints to mikrotik (#63797)
Co-authored-by: epenet <epenet@users.noreply.github.com>
2022-01-10 14:05:08 +01:00
Franck Nijhof c339233421
Update PyTurboJPEG to 1.6.5 (#63803) 2022-01-10 13:28:04 +01:00
Sagi Bernstein f00a029910
Support 4 channels switch (#63724) 2022-01-10 13:27:47 +01:00
Erik Montnemery 0b28881b75
Enable Google Assistant state reporting by default (#63801) 2022-01-10 13:18:40 +01:00
Ryan Fleming 77d22c8542
Allow self signed certs on octoprint server (#59213) 2022-01-10 13:15:38 +01:00
Simone Chemelli 69c8a02e16
Address late Shelly review (#63754)
* Late review

* Apply review comments

* Revert review original comment

* Optimizization: loop exit

* Break instead of return

* Missing super init
2022-01-10 13:14:19 +01:00
epenet 9a312e7a7d
Drop use of discovery_info in aquostv (#63777)
Co-authored-by: epenet <epenet@users.noreply.github.com>
2022-01-10 13:11:02 +01:00
Gunnar Klauberg 0f2e2aef2f
Add DSMR config options for EasyMeter/Q3D (#63669)
Co-authored-by: Rob Bierbooms <mail@robbierbooms.nl>
2022-01-10 13:08:41 +01:00
Petro31 9c6c13a55c
Add is_number as a test for use in select, selectattr, reject, and re… (#63732) 2022-01-10 13:00:43 +01:00
epenet 51292cc135
Fix incorrect type hint in discovery helper (#63789)
Co-authored-by: epenet <epenet@users.noreply.github.com>
2022-01-10 11:14:31 +01:00
epenet 06e2f58529
Adjust custom data location in hdmi_cec (#63791)
Co-authored-by: epenet <epenet@users.noreply.github.com>
2022-01-10 10:57:48 +01:00
epenet 24314f1b11
Use Platform enum in load_platform [m-z] (#63751) 2022-01-10 10:45:11 +01:00
epenet 1305affda0
Add setup type hints to hdmi_cec (#63788)
Co-authored-by: epenet <epenet@users.noreply.github.com>
2022-01-10 10:35:19 +01:00
epenet c7cb26cbab
Use Platform enum in load_platform [a-l] (#63750) 2022-01-10 10:30:47 +01:00
Orce MARINKOVSKI b78e22e012
Update MQTT light schema template (#62759)
* shema template update

* tests to cover the additional template variables

* fix flake8: too many blank lines

* Update schema_template.py

Co-authored-by: Erik Montnemery <erik@montnemery.com>
2022-01-10 09:57:56 +01:00
epenet 4f3fa0dbbe
Add setup type hints to gpmdp (#63787)
Co-authored-by: epenet <epenet@users.noreply.github.com>
2022-01-10 09:51:23 +01:00
chpego 4c8dac9607
Bump py synologydsm api to 1.0.5 (#63786) 2022-01-10 09:44:12 +01:00
J. Nick Koston 4dfe6b3355
Cleanups for SenseME switch platform (#63774) 2022-01-10 09:38:08 +01:00
epenet ccdfe0fb01
Add setup type hints to avion (#63778)
Co-authored-by: epenet <epenet@users.noreply.github.com>
2022-01-10 09:35:23 +01:00
epenet 82f91bcd5f
Adjust migrate_entry in axis (#63779)
Co-authored-by: epenet <epenet@users.noreply.github.com>
2022-01-10 09:34:22 +01:00
epenet 66809464e4
Add setup type hints to aws (#63781)
Co-authored-by: epenet <epenet@users.noreply.github.com>
2022-01-10 09:33:04 +01:00
epenet f984e17d4e
Add setup type hints to emby (#63784)
Co-authored-by: epenet <epenet@users.noreply.github.com>
2022-01-10 09:31:26 +01:00
RenierM26 18706e6408
Bump PySwitchbot to 0.13.2 (#63713)
* Bump api

* gen requirements

* Bump api to 0.13.2 to remove print statement.
2022-01-10 07:19:04 +01:00
J. Nick Koston a8a6e22063
Add DeviceInfo to steamist (#63773) 2022-01-09 21:28:59 -08:00
Raman Gupta 7b3e5fdf9d
Fix zwave_js device actions (#63769) 2022-01-09 21:28:36 -08:00
J. Nick Koston b5bb692fe4
Fix august locks failing to lock/unlock (#63652) 2022-01-09 21:27:27 -08:00
Franck Nijhof d0ddf3ce8c
Fix Tuya climate c_f DP not being a string (#63680) 2022-01-09 21:26:28 -08:00
Christopher Bailey d8ba90fb8a
Refactor EntityDescriptions for UniFi Protect (#63716) 2022-01-09 18:37:24 -10:00
J. Nick Koston b658c053ec
Add switch platform to SenseME (#63719) 2022-01-09 17:16:19 -10:00
epenet 36dd8ca09a
Enable strict typing in browser (#63760)
* Add setup type hints to browser

* Add browser to script-typing
2022-01-10 04:02:50 +01:00
Simone Chemelli 9479ef0a34
Fix climate channel for Shelly (#63756)
* Revert "Improve availability for Shelly Valve"

This reverts commit d8cbd81b456820153522e6d86bbd00c4a4a31129.

* Fix channel for climate
2022-01-10 01:16:13 +01:00
GitHub Action d99548fc04 [ci skip] Translation update 2022-01-10 00:14:49 +00:00
RogerSelwyn 4ee4d909ec
Bump pyskyqhub to 0.1.4 (#63734)
* Bump pyskyqhub to 0.1.4

* Bump pyskyqhub to 0.1.4
2022-01-09 23:11:58 +02:00
J. Nick Koston 96aa623d2a
Add discovery support to steamist (#63707) 2022-01-09 10:34:50 -10:00
J. Nick Koston 0efdc7fa65
Additional SenseME cleanups (#63748)
* Additional SenseME cleanups

* drop the super as its no longer needed

* one more
2022-01-09 19:48:54 +01:00
Brandon Rothweiler 8915b73f72
Use SensorEntityDescription in Mazda integration (#63423)
* Use SensorEntityDescription in Mazda integration

* Change lambdas to functions

* Minor fixes

* Address review comments
2022-01-09 16:46:18 +01:00
Korn eb50de5baa
Bump WazeRouteCalculator to 0.14 (#63718) 2022-01-09 15:29:06 +01:00
Daniel Hjelseth Høyer 0e0ef0aa17
Tibber cost statistics (#63626)
* Tibber cost statistics

Signed-off-by: Daniel Hjelseth Høyer <github@dahoiv.net>

* Tibber cost statistics

Signed-off-by: Daniel Hjelseth Høyer <github@dahoiv.net>

* unit

Signed-off-by: Daniel Hjelseth Høyer <github@dahoiv.net>

* unit

Signed-off-by: Daniel Hjelseth Høyer <github@dahoiv.net>

* Update homeassistant/components/tibber/sensor.py

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

* Update homeassistant/components/tibber/sensor.py

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

* break lines

Signed-off-by: Daniel Hjelseth Høyer <github@dahoiv.net>

Co-authored-by: Martin Hjelmare <marhje52@gmail.com>
2022-01-09 12:20:53 +01:00
starkillerOG 1d24fb7ad9
Fix Netgear used method version (#63686)
* Netgear fix used method version

* add error message

* fix imports

* fix black

* fix error mess

* rename const
2022-01-09 11:27:42 +01:00
Jonathan Keljo 15f1a850ba
Eliminate redundant code in greeneye_monitor (#63661) 2022-01-09 01:24:16 -06:00
Marc Mueller 4d3f70ad05
Use Platform enum (#63577) 2022-01-09 07:57:51 +01:00
J. Nick Koston 8e0b124875
Add binary_sensor platform to SenseME (#63660) 2022-01-08 19:52:51 -10:00
epenet 34a967c48a
Explicitely allow Platform enum in config_entries (#63581)
* Explicitely allow Platform enum in config_entries

* Undo argument name change and conversion to string

Co-authored-by: epenet <epenet@users.noreply.github.com>
2022-01-09 06:08:04 +01:00
epenet 665eeb4b27
Explicitely allow Platform enum in discovery helper (#63571)
* Adjust Platform type hint in discovery helper

* Adjust amcrest

* Adjust comfoconnect

* Adjust ecovacs

* Adjust egardia

* Rename arguments

* Convert Platform enum to string explicitely

* Revert "Adjust egardia"

This reverts commit ff7b0d6100.

* Revert "Adjust ecovacs"

This reverts commit 2749045e13.

* Revert "Adjust comfoconnect"

This reverts commit bfff08f7fc.

* Undo argument name change and conversion to string

* Remove comment

Co-authored-by: epenet <epenet@users.noreply.github.com>
2022-01-09 06:06:56 +01:00
Marc Mueller 89859aad8d
Fix ParamSpec Callable return types (#63701) 2022-01-09 06:03:18 +01:00
J. Nick Koston 37285194f8
Bump flux_led to 0.27.44 to fix CCT ceiling lights (#63712)
- Changelog: https://github.com/Danielhiversen/flux_led/compare/0.27.42...0.27.44

- The library was incorrectly speaking the older protocol
  to these devices when it needed to speak the newer CCT one
2022-01-08 22:27:31 -06:00
Shay Levy 1f92c25b8c
Remove package constraint to websockets (#63703) 2022-01-09 05:04:19 +01:00
GitHub Action a8fee4c2f6 [ci skip] Translation update 2022-01-09 00:15:18 +00:00
Christopher Bailey dec22aa510
Use MediaPlayerDeviceClass for UniFi Protect media_player (#63708) 2022-01-08 14:06:00 -10:00
Christopher Bailey 0232021f5c
Add UniFi Protect camera motion sensors and ThumbnailProxyView (#63696) 2022-01-08 13:51:49 -10:00
Franck Nijhof 71208b2ebb
Replace custom Tuya device classes with StrEnum (#63681) 2022-01-09 00:44:27 +02:00
Simone Chemelli e6419fd505
Fritz: small optimization (#63693)
* Revert "Improve availability for Shelly Valve"

This reverts commit d8cbd81b456820153522e6d86bbd00c4a4a31129.

* Small optimization
2022-01-09 00:39:51 +02:00
Simone Chemelli e3c793718c
Add button and deprecate service for Fritz cleanup (#63692)
* Revert "Improve availability for Shelly Valve"

This reverts commit d8cbd81b456820153522e6d86bbd00c4a4a31129.

* Add cleanup button

* Wrong commit

* Add service deprecation warning
2022-01-09 00:38:28 +02:00
Leah Oswald ec508130d2
Add default mode 'auto' for tradfri starkvind air purifier on turn on (#63641)
* add default mode 'auto' for tradfri starkvind air purifier on turn on

This commits fixes the behaviour described in #60122 (purifier couldn't be
started via toggle switch). It adds 'auto' as default mode/fallback for
turning on the starkvind air purifier. This is now the same behaviour the
original app provides.

* Refactor code that set 'auto' as default value for tradfri starkvind on
turn on
2022-01-08 21:01:54 +01:00
Marc Mueller 8c51303332
Use Platform enum [mysensors] (#63687) 2022-01-08 20:55:24 +01:00
micha91 073a080bb2
Fix the unregistration of Capability based MusicCast Entities (#63665) 2022-01-08 12:42:40 -06:00
Jonathan Keljo a754584284
Move greeneye_monitor constants into their own file (#63659) 2022-01-08 12:32:24 -06:00
Simone Chemelli 38244dd245
Fritz cleanup: part2 (triggers for button/service) (#63564)
* Revert "Improve availability for Shelly Valve"

This reverts commit d8cbd81b456820153522e6d86bbd00c4a4a31129.

* Fritz cleanup: part2 (triggers for button/service)

* Remove commit

* Fix func overlapping

* Apply review comments

* Remove too early warning

* Missing wrapping
2022-01-08 19:23:12 +01:00
Christopher Bailey 8860549ef2
Minor bugfixes for UniFi Protect (#63475) 2022-01-08 06:49:55 -10:00
Franck Nijhof 51754f796b
Improve typing of Steamist sensors (#63674) 2022-01-08 06:47:57 -10:00
Joakim Sørensen fa15f91dbf
Bump awesomeversion to 22.1.0 (#63676) 2022-01-08 16:25:13 +01:00
Marc Mueller eb2238a9e1
Add types for HassJob [helpers.event] (#63675) 2022-01-08 14:26:22 +01:00
Franck Nijhof 80a4ec82b4
Deprecate Media Player Classic Home Cinema (ADR-0004) (#63598) 2022-01-08 13:41:22 +01:00
Raman Gupta 9e4e43cf77
Handle zwave_js metadata/value updates when the unit changes (#63579)
* Handle zwave_js metadata updates when the unit changes

* Use value updated event instead of metadata updated event so we don't get an invalid state value

* update comments and formatting

* simplify

* Update tests/components/zwave_js/test_sensor.py

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

* Update tests/components/zwave_js/test_sensor.py

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

* Update tests/components/zwave_js/test_sensor.py

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

* fix tests

* add additional assertions

* Add unit checks and simplify logic

* Add unit assertion

Co-authored-by: Martin Hjelmare <marhje52@gmail.com>
2022-01-08 13:23:29 +01:00
Andreas Oberritter b55b802aeb
Use device registry in aten_pe (#61906) 2022-01-08 13:04:53 +01:00
RenierM26 e3848944e8
Switchbot Set initial state for switch (#63654) 2022-01-08 12:58:31 +01:00
Daniel Hjelseth Høyer 039507c86a
Update pyTibber to 0.21.7 (#63663) 2022-01-08 12:56:33 +01:00
Andreas Oberritter 798eb77110
Bump pysml to 0.0.6 (#63664) 2022-01-08 12:54:31 +01:00
Simon Hansen 3f1d5ac7fc
Bump pylaunches to 1.2.1 (#63667) 2022-01-08 12:51:31 +01:00
Simon Hansen b22a9b8669
Refactor Launch Library to use config flow (#62416)
Co-authored-by: Franck Nijhof <frenck@frenck.nl>
Co-authored-by: Joakim Sørensen <hi@ludeeus.dev>
2022-01-08 11:47:16 +01:00
Mick Vleeshouwer b4187540c0
Improve typing for Overkiz integration and address late feedback (#63483)
* Bump pyoverkiz to 1.0.2

* Remove cast for str enum.

* Address feedback on coordinator

* Change datatype to Callable

* Address feedback

* Move scenarios to seperate list

* Cast Device to avoid issues with DataUpdateCoordinator default

* Remove unnecessary casts and improve type notation

* Check if state.value exists

* Fix last mypy error (thanks @epenet)

* Remove extra string cast

* Improve sensor typing

* Update pyoverkiz and remove typing

* Small code improvement

* Fix assert to reflect real world

* Properly type Callable to not return Any

* Remove unnecessary cast

* Add OverkizStateType

* Bugfix

* Address feedback - multiline lambda

* Pylint fix

* Remove added binary sensor
2022-01-08 10:53:15 +01:00
J. Nick Koston 943aaaeb3f
Add SenseME integration (#62909)
Co-authored-by: Big Mike <mikelawrence@users.noreply.github.com>
2022-01-07 22:53:05 -10:00
J. Nick Koston 509ddc84a5
Add support for managing 2.4G remotes in flux_led (#63646) 2022-01-07 21:26:10 -10:00
J. Nick Koston ba402237c2
Add temp and minutes remaining sensors to steamist (#63653) 2022-01-07 21:02:12 -10:00
J. Nick Koston 9dd09f66e2
Ensure selected entity is pre-selected in homekit options flow (#63628)
* Ensure selected entity is pre-selected in homekit options flow

- We recently adjusted the flow to exclude entities that had
  been deleted from breaking the UI validation. We need to include
  single entities in the set of all supported entities since
  accessory mode has no domain filter

* tweak

* Additional fixes

* small tweak to speed up building the set

* merged fixed version for test branch
2022-01-07 17:46:39 -08:00
J. Nick Koston 0b67d7fb28
Bump flux_led to 0.27.42 (#63651)
- Fixes RGB/WW/CW controller operating mode not being detected after
  a factory reset.

- When the device is factory reset or setup for the first time the operating
  mode is reported as 0 and its expected the user will set it in the
  Magic Home app. If they skip that step Home Assistant will never be able
  to figure out which operating mode the device is using and the CW and WW
  channels will not work.

- Changelog: https://github.com/Danielhiversen/flux_led/compare/0.27.41...0.27.42
2022-01-07 17:45:39 -08:00
Franck Nijhof 146e1c5eb5
Revert "Update Numpy to 1.22.0 (#63559)" (#63648)
This reverts commit d8e1e1396c.
2022-01-07 17:11:39 -08:00
GitHub Action 0827608302 [ci skip] Translation update 2022-01-08 00:14:39 +00:00
Artem Draft 3df2ab709a
Bump pylgnetcast to 0.3.7 (#63645) 2022-01-08 01:06:49 +01:00
J. Nick Koston aee412f60b
Bump flux_led to 0.27.41 (#63638) 2022-01-07 22:43:42 +01:00
Franck Nijhof 6d2fc38f58
Update youtube_dl to 2021.12.17 (#63592) 2022-01-07 20:27:35 +01:00
J. Nick Koston 945477a482
Fix KeyError during call to homekit.unpair (#63627) 2022-01-07 19:47:14 +01:00
Paulus Schoutsen 1ea3a17d89
Allow sending webhooks via WS connection (#62725) 2022-01-07 10:41:36 -08:00
Franck Nijhof 3f7275a9c7
Give scenes last activated state (#62673) 2022-01-07 19:02:32 +01:00
Jacek Kończewski e03283292b
Add new TRV Beca and proper Presets with new one Temporary Manual (#60337) 2022-01-07 18:52:41 +01:00
Glenn Waters 128433758e
Add SensorEntityClass support for Environment Canada integration (#58615) 2022-01-07 18:28:13 +01:00
Phil Cole 9ef1033152
Use entities instead of devices for nissan leaf (#63542) 2022-01-07 17:54:37 +01:00
Kevin Stillhammer 397538fd1a
Use find_coordinates in google_travel_time (#61423) 2022-01-07 17:45:29 +01:00
Erik Montnemery fc2025509e
Teach call service script action about entity registry ids (#61172) 2022-01-07 08:42:47 -08:00
Diogo Gomes d5d8eefded
Case sensitive SQL queries checks (#62752) 2022-01-07 17:19:30 +01:00
Daniel Hjelseth Høyer 04796c4410
Add missing `last_rest` in Tibber (#61914) 2022-01-07 16:57:52 +01:00
epenet f3af0781f8
Add setup type hints [f-g] (#63599)
Co-authored-by: epenet <epenet@users.noreply.github.com>
2022-01-07 16:48:54 +01:00
Marc Mueller 54cb1e7556
Add strict typing to `core.py` (5) - Task (#63243) 2022-01-07 16:48:34 +01:00
Allen Porter 4203e1b064
Delete nest event image fetching and use same APIs as media player (#62789) 2022-01-07 16:37:54 +01:00
G Johansson 91900f8e4e
Add yale_smart_alarm config options flow (#54097) 2022-01-07 16:32:49 +01:00
epenet ecb921949a
Add setup type hints [v-y] (#63614)
Co-authored-by: epenet <epenet@users.noreply.github.com>
2022-01-07 16:30:01 +01:00