Commit Graph

649 Commits (2b175a37a76b00501391f69ef238fe3692eecce4)

Author SHA1 Message Date
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
Pascal Vizeli 7698c179ac
Upgrade cryptography to 3.4.8 (#56481)
* Upgrade cryptography to 3.4.8

* Fix file
2021-09-21 11:06:52 +02:00
J. Nick Koston b060c025ce
Bump zeroconf to 0.36.6 (#56438)
- Performance improvements (faster HomeKit startup)

Changelog: https://github.com/jstasiak/python-zeroconf/compare/0.36.5...0.36.6
2021-09-20 07:00:46 +02:00
J. Nick Koston 75c029c56b
Bump zeroconf to 0.36.5 (#56413) 2021-09-18 21:52:09 -10:00
J. Nick Koston 8814c53504
Bump zeroconf to 0.36.4 (#56314) 2021-09-16 21:04:54 -10:00
J. Nick Koston 98cf34c7c3
Bump zeroconf to 0.36.3 (#56233) 2021-09-14 13:02:37 -10:00
Steven Looman 73260c5b88
Move parts of ssdp to async_upnp_client (#55540)
* Move parts of ssdp to async_upnp_client

* Fix test for environments with multiple sources

* Fix sonos tests

* More fixes/changes

* More fixes

* Use async_upnp_client==0.21.0

* Pylint/test fixes

* More changes after review

* Fix tests

* Improve testing

* Fix mypy

* Fix yamaha_musiccast tests?

* Changes after review

* Pylint

* Reduce calls to combined_headers

* Update to async_upnp_client==0.21.1

* Update to async_upnp_client==0.21.2

* use as_dict

Co-authored-by: J. Nick Koston <nick@koston.org>
2021-09-11 13:38:16 -10:00
Paulus Schoutsen 64fd496932
Bump frontend to 20210911.0 (#56115) 2021-09-11 12:34:01 -07:00
Ruslan Sayfutdinov a9ed4fa405
Bump awesomeversion to 21.8.1 (#55817) 2021-09-11 11:40:46 -07:00
Joakim Sørensen c59540cfc7
Revert "Bump pillow to 8.3.2 (#55970)" (#56048)
This reverts commit ee7202d10a.
2021-09-10 17:01:51 +02:00
uvjustin dd9bfe7aa0
Add package constraint anyio>=3.3.1 (#55997) 2021-09-09 15:33:09 +02:00
Paulus Schoutsen ee7202d10a
Bump pillow to 8.3.2 (#55970) 2021-09-08 12:06:30 -07:00
Ruslan Sayfutdinov 7195b8222b
Bump PyJWT to 2.1.0 (#55911) 2021-09-07 20:59:02 -07:00
Paulus Schoutsen 93083513b4
Bump hass-nabucasa 49 (#55823) 2021-09-06 16:05:33 -07:00
Paulus Schoutsen 19c54b8cbf
Drop unused ruamel (#55672) 2021-09-03 22:17:10 -07:00
Paulus Schoutsen 27e29b714c
Bump cloud to 0.47.1 (#55312)
* Bump cloud to 0.47.0

* Bump reqs

* Bump to 0.47.1

* Do not load hass_nabucasa during http startup

* fix some tests

* Fix test

Co-authored-by: Ludeeus <ludeeus@ludeeus.dev>
2021-09-01 09:54:54 -07:00
Bram Kragten 9b3346bc80
Update frontend to 20210830.0 (#55472) 2021-08-30 23:32:19 +02:00