Commit graph

45971 commits

Author SHA1 Message Date
Marc Mueller ab67ba20f5
Update pylint plugin to validate _async_has_devices (#66512) 2022-02-14 18:10:50 +01:00
Paulus Schoutsen 8456c6416e
Add a media source to TTS (#66483) 2022-02-14 08:54:12 -08:00
J. Nick Koston 013d227113
Ensure WiZ cleans up on shutdown and failed setup (#66520) 2022-02-14 17:32:34 +01:00
J. Nick Koston 9691128e96
Fix ImportError when discovery deps change (#66518) 2022-02-14 17:12:24 +01:00
Paulus Schoutsen fec8c2ab82
Add support for MJPEG cameras to camera media source (#66499) 2022-02-14 17:04:19 +01:00
J. Nick Koston 63cb79ec29
Add support for setting the effect speed in WiZ (#66457) 2022-02-14 16:49:43 +01:00
J. Nick Koston 445ad1d592
Add test coverage for WiZ lights and switches (#66387) 2022-02-14 16:31:26 +01:00
Bart Janssens 4522a5698c
Fix vicare program presets (#66476) 2022-02-14 15:42:40 +01:00
Paulus Schoutsen 707f112f51
Improve raised exception consistency for media source (#66497) 2022-02-14 15:41:53 +01:00
Marc Mueller 80394e3de6
Improve util.async_ typing (#66510) 2022-02-14 15:41:09 +01:00
Marc Mueller 94cfc89df9
Improve DiscoveryFlowHandler typing (#66511) 2022-02-14 15:28:52 +01:00
Franck Nijhof 45251e6936
Update sentry-dsk to 1.5.5 (#66515) 2022-02-14 15:23:20 +01:00
Erik Montnemery 795d249c8c
Small improvement of cast test (#66513) 2022-02-14 15:06:33 +01:00
Paulus Schoutsen 4c5d64762b
Fix cast turn on image (#66500) 2022-02-14 14:38:46 +01:00
Shay Levy db73ce92fa
Increase switcher_kis timeouts (#66465) 2022-02-14 14:30:04 +01:00
J. Nick Koston 00d7fdd274
Add WiZ occupancy sensor support (#66231) 2022-02-14 14:25:15 +01:00
Marc Mueller b2ee7cebc9
Improve setup_time typing (#66509) 2022-02-14 14:24:58 +01:00
Erik Montnemery dbd26c7faf
Support browsing multiple Spotify accounts (#66256)
* Support browsing multiple Spotify accounts

* Fix rebase mistakes

* Address review comments

* Return root spotify node with config entries as children

* Add util to get spotify URI for media browser URL

* Only support browsing spotify with config entry specified
2022-02-14 13:59:11 +01:00
Marc Mueller 370832f527
Fix http typing (#66506) 2022-02-14 13:40:31 +01:00
Brett Adams 5a02bae63e
Bump Advantage Air 0.3.0 (#66488) 2022-02-14 13:16:05 +01:00
Marc Mueller c9d99ad76d
Add missing dataclass decorator [fivem] (#66505) 2022-02-14 12:51:52 +01:00
epenet 211b5b02df
Fix access to hass.data in hdmi-cec (#66504)
Co-authored-by: epenet <epenet@users.noreply.github.com>
2022-02-14 12:43:36 +01:00
Shay Levy 5c5bb4835e
Enable assumed state in webostv media player (#66486) 2022-02-14 11:14:57 +01:00
epenet 0a7b1dec7d
Adjust type hint in core add_job (#66503)
Co-authored-by: epenet <epenet@users.noreply.github.com>
2022-02-14 11:13:10 +01:00
Ryan Fleming 35b343de9e
Octoprint buttons (#66368) 2022-02-14 11:05:06 +01:00
Tobias Sauerwein 71540a924b
Update requirements_test.txt (#66481) 2022-02-14 09:51:22 +02:00
Raman Gupta 051bf173dc
revert change in vizio logic to fix bug (#66424) 2022-02-14 09:49:19 +02:00
GitHub Action ad0cb4831e [ci skip] Translation update 2022-02-14 00:15:30 +00:00
Shay Levy fe077b6990
Use shorthand attributes in webostv (#66418) 2022-02-13 23:47:37 +02:00
Daniel Hjelseth Høyer 36120c77f8
Reduce update_interval for Opengarage (#66478) 2022-02-13 15:41:46 -06:00
Joshua Roys bc2cc42955
Don't abort zeroconf discovery for IPv6-only devices (#66455) 2022-02-13 15:24:23 -06:00
J. Nick Koston ffcac67d99
Add is_ipv4_address and is_ipv6_address utils (#66472) 2022-02-13 15:23:11 -06:00
J. Nick Koston 2bdf55465a
Bump pywizlight to 0.5.8 (#66448) 2022-02-13 14:29:34 -06:00
Jc2k 40c6832cc1
Update homekit_controller to use the new typed discovery data (#66462) 2022-02-13 12:45:30 -06:00
Erik Montnemery d40a830b89
Remove entities when config entry is removed from device (#66385)
* Remove entities when config entry is removed from device

* Update tests/helpers/test_entity_registry.py

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

* Don't remove entities not connected to a config entry

* Update homeassistant/helpers/entity_registry.py

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

Co-authored-by: Franck Nijhof <git@frenck.dev>
Co-authored-by: Martin Hjelmare <marhje52@gmail.com>
2022-02-13 17:23:30 +01:00
Allen Porter b016259206
Reset the stream backoff timeout when the url updates (#66426)
Reset the stream backoff timeout when the url updates, meant to improve the retry behavior
for nest cameras. The problem is the nest url updates faster than the stream reset time
so the wait timeout never resets if there is a temporarily problem with the new url. In particular
this *may* help with the flaky cloud nest urls, but seems more correct otherwise.
2022-02-13 07:09:37 -08:00
Aidan Timson ac3c5db989
Handle NoneType error in OVO integration (#66439) 2022-02-13 16:37:18 +02:00
Austin Mroczek b4c487376f
bump total_connect_client to 2022.2 (#66408) 2022-02-13 10:05:20 +02:00
Jc2k b8a8485e91
Replace use of deprecated APIs in aiohomekit (#66409) 2022-02-12 23:17:55 -06:00
Allen Porter 0a128d006f
Improve stream robustness by always retrying worker (#66417)
Improve stream robustness by always retrying in the worker on failure, rather than only when
keepalive is enabled.

This will make cloud cameras like nest more robust, since they have a tendency to be flaky. This
is also needed to improve client side retry behavior because when the client attempts to retry,
the stream token is already revoked because the worker stopped.

The worker will still idle timeout if no streams are present, so it won't go on forever if no
frontend is viewing the stream.
2022-02-12 20:59:11 -08:00
GitHub Action 203bda203d [ci skip] Translation update 2022-02-13 00:16:41 +00:00
Robert Svensson ac11a9b7ff
Revert Amcrest change (#66412) 2022-02-12 23:08:23 +01:00
Allen Porter 2e54daa61f
Redact stream url credentials in debug logging (#66407) 2022-02-12 14:03:26 -08:00
Simone Chemelli e069074f9e
Fix mesh role for Fritz old devices (#66369) 2022-02-12 13:58:35 -08:00
Marc Mueller 1053314a30
Fix error decorator [sonos] (#66399) 2022-02-12 13:51:53 -08:00
kpine a7e5f38a3e
Add is_controller_node flag to WS node status (#66404) 2022-02-12 22:08:39 +01:00
G Johansson a8304392b5
Code quality file (#65258) 2022-02-12 11:49:37 -06:00
Marc Mueller 7806494816
Fix typing [roku] (#66397) 2022-02-12 17:44:47 +01:00
corneyl 17a732197b
Add Picnic re-auth flow (#62938)
* Add re-auth handler for Picnic

* Extracted authentication part so right form/errors can be shown during re-auth flow

* Add tests for Picnic's re-authentication flow

* Simplify re-auth flow by using the same step as step_user

* Use user step also for re-auth flow instead of having an authenticate step

* Add check for when re-auth is done with different account

* Remove unnecessary else in Picnic config flow

* Fix the step id in the translation strings file
2022-02-12 08:15:36 -08:00
Franck Nijhof ba83648d27
Fix Spotify session token refresh (#66386) 2022-02-12 17:13:32 +01:00