Commit graph

79 commits

Author SHA1 Message Date
Steven Looman
39e65c8586
Bump async-upnp-client to 0.41.0 (#127642) 2024-10-05 09:07:10 -05:00
J. Nick Koston
d0ba5534cd
Bump async-upnp-client to 0.40.0 (#122427) 2024-07-22 17:04:29 -05:00
Steven Looman
55a2645e78
Bump async_upnp_client to 0.39.0 (#120250) 2024-06-23 14:21:56 -05:00
Steven Looman
eb0aa6bb82
Bump async-upnp-client to 0.38.3 (#114447) 2024-03-29 19:08:07 +01:00
Paulus Schoutsen
f416d67d21
Remove built-in support for import_executor in manifest (#112725) 2024-03-08 12:02:32 -05:00
J. Nick Koston
4579de6eb5
Import ssdp in the executor to avoid blocking the event loop (#111593)
`2024-02-26 21:37:59.325 DEBUG (MainThread) [homeassistant.loader] Component ssdp import took 1.179 seconds (loaded_executor=False)`
2024-02-26 23:58:34 -05:00
J. Nick Koston
587854fd59
Remove zeroconf from ssdp after deps (#111326)
* Remove zeroconf from ssdp after deps

This was added in #36277 but is no longer needed since
we setup discovery integrations ahead of time to ensure
their deps are updated before other integrations can load
them

* adjust test
2024-02-26 23:57:41 -05:00
Steven Looman
147a1f7b0b
Bump async-upnp-client to 0.38.2 (#110411) 2024-02-12 15:31:09 -06:00
Steven Looman
2b389739d3
Bump async-upnp-client to 0.38.1 (#108382) 2024-01-19 16:48:08 -10:00
Michael Chisholm
64a2c64419
Bump async-upnp-client to 0.38.0 (#105980) 2023-12-19 10:12:30 -10:00
Steven Looman
aa9301be32
Bump async-upnp-client to 0.36.2 (#102472) 2023-10-21 10:09:09 -10:00
Steven Looman
ad17f1622c
Bump async-upnp-client to 0.36.1 (#100961) 2023-09-26 16:32:37 -05:00
J. Nick Koston
6387263007
Bump async-upnp-client to 0.36.0 (#100881) 2023-09-25 16:19:40 -05:00
J. Nick Koston
fc75172d79
Bump async-upnp-client to 0.35.1 (#100248) 2023-09-12 16:35:39 -05:00
Steven Looman
045c514c18
Bump async-upnp-client to 0.35.0 (#99129) 2023-08-27 09:08:58 -05:00
Steven Looman
9f551c0469
Bump async-upnp-client to 0.34.1 (#97105) 2023-07-23 22:38:21 +02:00
Steven Looman
63c2b5868e
Bump async-upnp-client to 0.33.2 (#93329)
* Bump async-upnp-client to 0.33.2

* Fix tests
2023-05-21 17:17:08 -05:00
Erik Montnemery
23fa500406
Sort manifests 9 (#87030) 2023-02-08 20:22:30 +01:00
Steven Looman
7e206b5854
Fix error on empty location in ssdp messages (#86970) 2023-01-30 22:43:58 +01:00
Steven Looman
682501eb47
Less tasks when receiving SSDP messages (#84186)
Co-authored-by: J. Nick Koston <nick@koston.org>
2022-12-21 11:35:52 -10:00
Michael Chisholm
7378277212
Update async-upnp-client to 0.32.3 (#83215) 2022-12-04 10:05:53 -08:00
Steven Looman
a635e9c9d2
Fix repeating SSDP errors by checking address scope_ids and proper hostname (#81611) 2022-11-05 17:11:59 -05:00
Steven Looman
b5f70a404a
Fix SSDP/UPnP server after testing (#80815) 2022-10-24 15:19:19 -05:00
Steven Looman
731f618028
Make home assistant discoverable via UPnP/SSDP (#79820) 2022-10-15 14:00:46 -04:00
Franck Nijhof
2b27cfdabb
Set system & entity integration types (#79593) 2022-10-04 10:36:42 -04:00
Steven Looman
26641fc90d
Bump async-upnp-client to 0.31.2 (#73712) 2022-06-19 12:59:37 -05:00
Steven Looman
6c9408aef5
Bump async-upnp-client==0.31.1 (#73135)
Co-authored-by: J. Nick Koston <nick@koston.org>
2022-06-06 11:46:52 -10:00
Steven Looman
01c211a7f9
Bump async-upnp-client to 0.30.1 (#72332)
Co-authored-by: J. Nick Koston <nick@koston.org>
2022-05-23 02:06:09 -05:00
Michael Chisholm
dd0f9350ac
Update async-upnp-client to 0.30.0 (#72269) 2022-05-21 09:18:47 -05:00
J. Nick Koston
5224cf5968
Update async_upnp_client to 0.29.0 (#70604) 2022-04-25 09:53:35 -07:00
Steven Looman
776565c23f
Bump async-upnp-client to 0.28.0 (#70582) 2022-04-24 08:46:13 -10:00
Steven Looman
f006cffac6
Bump async-upnp-client to 0.27.0 (#68310) 2022-03-17 12:32:46 -10:00
epenet
d656acfa2c
Bump async-upnp-client to 0.26.0 (#67760) 2022-03-07 11:08:50 +01:00
Steven Looman
dbbb5655e5
Bump async-upnp-client to 0.25.0 (#66414)
Co-authored-by: J. Nick Koston <nick@koston.org>
2022-02-27 08:29:29 -10:00
Ben Edmunds
c93d389544
Bump async-upnp-client to 0.23.5 (#65922) 2022-02-08 20:27:16 +02:00
J. Nick Koston
5b755b74fb
Add loggers to integration manifest.json (#65083) 2022-01-28 13:37:53 -08:00
Michael Chisholm
45b8684b37
Bump async-upnp-client to 0.23.4 (#64287) 2022-01-17 14:55:07 +01:00
Steven Looman
cba752c1af
Bump async-upnp-client==0.23.3 (#63282) 2022-01-03 13:42:09 +01:00
Steven Looman
cb82169e92
Bump async-upnp-client to 0.23.2 (#62634) 2021-12-22 13:23:22 -10:00
Michael Chisholm
f280b03df8
Update async-upnp-client library to 0.23.1 (#62298) 2021-12-18 23:41:32 -06:00
Diego Elio Pettenò
6ce99bfc80
Bump async-upnp-client to 0.23.0 (#62223) 2021-12-17 16:57:02 -06:00
Franck Nijhof
ddf0941275
Upgrade async-upnp-client to 0.22.12 (#59284) 2021-11-07 07:41:26 -08:00
Michael Chisholm
4f83a251fa
Bump async-upnp-client to 0.22.11 (#58803) 2021-10-31 16:16:50 +01:00
Steven Looman
e5e38ace6c
Bump async-upnp-client to 0.22.10 (#58387) 2021-10-25 12:22:19 +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
Steven Looman
ba83433c64
Fix multiple upnp/ssdp issues (#57314) 2021-10-08 08:57:49 -07:00
Steven Looman
41d2f03b2f
Bump async-upnp-client to 0.22.5 (#56989) 2021-10-03 07:28:41 -10: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
J. Nick Koston
7ab6c82ad2
Drop defusedxml dep from ssdp manifest (#56699) 2021-09-26 19:49:43 -05:00