Commit Graph

665 Commits (b5de99ebfcb3b9f641c812892b3637d5baf6d13c)

Author SHA1 Message Date
J. Nick Koston 9769a8c08e
Revert "Bump async_timeout to 4.0.1" (#59601) 2021-11-12 23:47:39 -08:00
J. Nick Koston 8de0c7204a
Bump async_timeout to 4.0.1 (#59565) 2021-11-11 21:13:15 -08:00
Pascal Vizeli 6636287c59
Bump cryptography 35.0.0 (#59541) 2021-11-11 18:27:22 +01:00
J. Nick Koston 751098c220
Bump sqlalchemy to 1.4.26 (#59527) 2021-11-10 20:01:59 -08:00
Franck Nijhof 1910c0566c
Upgrade jinja2 to 3.0.3 (#59468) 2021-11-10 11:04:42 +01:00
Bram Kragten 4481fe11c4
Update frontend to 20211109.0 (#59451) 2021-11-09 14:40:21 -08:00
Bram Kragten 69da2b29e6
Update frontend to 20211108.0 (#59364) 2021-11-08 12:45:40 -08:00
Erik Montnemery 7b9715bec3
Bump paho-mqtt to 1.6.1 (#59339) 2021-11-08 18:16:44 +01:00
Franck Nijhof ddf0941275
Upgrade async-upnp-client to 0.22.12 (#59284) 2021-11-07 07:41:26 -08:00
J. Nick Koston 8b25bd0cea
Bump zeroconf to 0.36.12 (#59133)
- Changelog: https://github.com/jstasiak/python-zeroconf/compare/0.36.11...0.36.12

Bugfix: Prevent service lookups from deadlocking if time abruptly moves backwards
2021-11-05 11:22:59 +01:00
J. Nick Koston 10d6247fee
Bump to aiohttp 3.8.0 (#58974) 2021-11-04 10:07:50 -05:00
Franck Nijhof 32784d1b83
Constrain urllib3 to >=1.26.5 (#59043) 2021-11-04 11:21:30 +01:00
Bram Kragten a7d958ae8a
Update frontend to 20211103.0 (#58988) 2021-11-03 11:51:17 +01:00
Michael Chisholm 4f83a251fa
Bump async-upnp-client to 0.22.11 (#58803) 2021-10-31 16:16:50 +01:00
J. Nick Koston 3374005b33
Bump zeroconf 0.36.11 (#58755) 2021-10-30 19:18:39 +02:00
Bram Kragten 808e067c22
Update frontend to 20211028.0 (#58629) 2021-10-28 21:32:38 +02:00
J. Nick Koston 2b175a37a7
Add package constraint to websockets (#58626) 2021-10-28 21:32:22 +02:00
Bram Kragten f56802f8e9
Update frontend to 20211027.0 (#58545) 2021-10-27 21:55:58 +02:00
Paulus Schoutsen 3715286969
Bump frontend to 20211026.0 (#58500) 2021-10-26 14:08:35 -07:00
Steven Looman e5e38ace6c
Bump async-upnp-client to 0.22.10 (#58387) 2021-10-25 12:22:19 +02:00
J. Nick Koston 5958e6a3f9
Ensure zeroconf uses the newest non-link local address in discovery (#58257) 2021-10-23 08:50:19 -10:00
Joakim Sørensen 23e362faf3
Bump awesomeversion from 21.8.1 to 21.10.1 (#58258) 2021-10-23 14:00:18 +02:00
J. Nick Koston 4a9209ebc8
Bump async-upnp-client to 0.22.9 (#58185)
Co-authored-by: Steven Looman <steven.looman@gmail.com>
2021-10-21 10:58:34 -10:00
Paulus Schoutsen 3bdc637d1b
Bump frontend to 20211020.0 (#58139) 2021-10-20 20:26:25 -07:00
Paulus Schoutsen 7104750008
Bump frontend to 20211014.0 (#57706) 2021-10-14 13:44:04 -07:00
Franck Nijhof 5cd2167924
Upgrade pyyaml to 6.0 (#57648) 2021-10-14 09:29:31 +02:00
J. Nick Koston 6e95ce70bc
Bump aiodiscover to 2.4.5 (#57439)
- Disable scanning if the network size exceeds the maximum number of
  allowed hosts (8192)

- Changelog: https://github.com/bdraco/aiodiscover/compare/v1.4.4...v1.4.5

- Closes #57378
2021-10-11 05:14:42 +02:00
J. Nick Koston 77c7709323
Bump zeroconf to 0.36.8 (#57451)
- Changelog: https://github.com/jstasiak/python-zeroconf/releases/tag/0.36.8
2021-10-11 04:40:17 +02:00
Bram Kragten b2cfbb7d1e
Update frontend to 20211007.1 (#57385) 2021-10-09 22:57:13 +02:00
Steven Looman ba83433c64
Fix multiple upnp/ssdp issues (#57314) 2021-10-08 08:57:49 -07:00
Bram Kragten 33b8130002
Update frontend to 20211007.0 (#57268) 2021-10-07 13:18:12 -07:00
Bram Kragten e69a1c3546
Update frontend to 20211006.0 (#57164) 2021-10-06 11:33:55 +02:00
Franck Nijhof 3645568dcc
Upgrade jinja2 to 3.0.2 (#57095) 2021-10-05 11:03:51 +02:00
Bram Kragten 91d3d39f6c
Update frontend to 20211004.0 (#57073) 2021-10-04 20:52:17 -07:00
Steven Looman 41d2f03b2f
Bump async-upnp-client to 0.22.5 (#56989) 2021-10-03 07:28:41 -10:00
Bram Kragten ad6129c505
Update frontend to 20211002.0 (#56963) 2021-10-02 23:16:29 +02:00
Bram Kragten 8196a84538
Update frontend to 20210930.0 (#56827) 2021-09-30 16:22:36 +02:00
J. Nick Koston f7ef973c68
Bump aiodiscover to 1.4.4 to fix mac matching with leading 0s (#56791) 2021-09-29 13:18:13 -04:00
Michael Chisholm f7d95588f8
Provide most media metadata in DlnaDmrEntity (#56728)
Co-authored-by: Steven Looman <steven.looman@gmail.com>
2021-09-28 19:37:23 -05:00
Michael Chisholm a28fd7d61b
Config-flow for DLNA-DMR integration (#55267)
* Modernize dlna_dmr component: configflow, test, types

* Support config-flow with ssdp discovery
* Add unit tests
* Enforce strict typing
* Gracefully handle network devices (dis)appearing

* Fix Aiohttp mock response headers type to match actual response class

* Fixes from code review

* Fixes from code review

* Import device config in flow if unavailable at hass start

* Support SSDP advertisements

* Ignore bad BOOTID, fix ssdp:byebye handling

* Only listen for events on interface connected to device

* Release all listeners when entities are removed

* Warn about deprecated dlna_dmr configuration

* Use sublogger for dlna_dmr.config_flow for easier filtering

* Tests for dlna_dmr.data module

* Rewrite DMR tests for HA style

* Fix DMR strings: "Digital Media *Renderer*"

* Update DMR entity state and device info when changed

* Replace deprecated async_upnp_client State with TransportState

* supported_features are dynamic, based on current device state

* Cleanup fully when subscription fails

* Log warnings when device connection fails unexpectedly

* Set PARALLEL_UPDATES to unlimited

* Fix spelling

* Fixes from code review

* Simplify has & can checks to just can, which includes has

* Treat transitioning state as playing (not idle) to reduce UI jerking

* Test if device is usable

* Handle ssdp:update messages properly

* Fix _remove_ssdp_callbacks being shared by all DlnaDmrEntity instances

* Fix tests for transitioning state

* Mock DmrDevice.is_profile_device (added to support embedded devices)

* Use ST & NT SSDP headers to find DMR devices, not deviceType

The deviceType is extracted from the device's description XML, and will not
be what we want when dealing with embedded devices.

* Use UDN from SSDP headers, not device description, as unique_id

The SSDP headers have the UDN of the embedded device that we're interested
in, whereas the device description (`ATTR_UPNP_UDN`) field will always be
for the root device.

* Fix DMR string English localization

* Test config flow with UDN from SSDP headers

* Bump async-upnp-client==0.22.1, fix flake8 error

* fix test for remapping

* DMR HA Device connections based on root and embedded UDN

* DmrDevice's UpnpDevice is now named profile_device

* Use device type from SSDP headers, not device description

* Mark dlna_dmr constants as Final

* Use embedded device UDN and type for unique ID when connected via URL

* More informative connection error messages

* Also match SSDP messages on NT headers

The NT header is to ssdp:alive messages what ST is to M-SEARCH responses.

* Bump async-upnp-client==0.22.2

* fix merge

* Bump async-upnp-client==0.22.3

Co-authored-by: Steven Looman <steven.looman@gmail.com>
Co-authored-by: J. Nick Koston <nick@koston.org>
2021-09-27 15:47:01 -05:00
Fabian Affolter 44a4507b51
Upgrade requests to 2.26.0 (#56683)
Co-authored-by: J. Nick Koston <nick@koston.org>
2021-09-26 21:44:28 -05:00
Fabian Affolter 115d34f55a
Set certifi to >=2021.5.30 (#56679)
Co-authored-by: J. Nick Koston <nick@koston.org>
2021-09-26 21:19:30 -05:00
J. Nick Koston 7ab6c82ad2
Drop defusedxml dep from ssdp manifest (#56699) 2021-09-26 19:49:43 -05:00
J. Nick Koston 26e031984b
Ensure sonos always gets ssdp callbacks from searches (#56591) 2021-09-26 17:16:03 -05:00
Fabian Affolter 2326e3ed94
Upgrade voluptuous to 0.12.2 (#56680) 2021-09-26 18:59:00 +02:00
Fabian Affolter 65bce33a63
Upgrade emoji to 1.5.0 (#56684) 2021-09-26 15:09:13 +02:00
Fabian Affolter a0a359e2ef
Upgrade ciso8601 to 2.2.0 (#56678) 2021-09-26 14:47:29 +02:00
J. Nick Koston a6ccb1821e
Update zeroconf to 0.36.7 (#56553) 2021-09-23 08:00:17 -05:00
Paulus Schoutsen 974376a8de
Bump frontend to 20210922.0 (#56546) 2021-09-22 16:20:58 -07:00
Paulus Schoutsen e34c985534
Simplify cloud request connection handling (#56243)
Co-authored-by: Pascal Vizeli <pascal.vizeli@syshack.ch>
2021-09-22 07:51:31 -07:00