diff --git a/homeassistant/components/dlna_dmr/manifest.json b/homeassistant/components/dlna_dmr/manifest.json index eefc4d85a69..322cd1e4d2b 100644 --- a/homeassistant/components/dlna_dmr/manifest.json +++ b/homeassistant/components/dlna_dmr/manifest.json @@ -8,7 +8,7 @@ "documentation": "https://www.home-assistant.io/integrations/dlna_dmr", "iot_class": "local_push", "loggers": ["async_upnp_client"], - "requirements": ["async-upnp-client==0.33.1", "getmac==0.8.2"], + "requirements": ["async-upnp-client==0.33.2", "getmac==0.8.2"], "ssdp": [ { "deviceType": "urn:schemas-upnp-org:device:MediaRenderer:1", diff --git a/homeassistant/components/dlna_dms/manifest.json b/homeassistant/components/dlna_dms/manifest.json index 35f028338c9..227a343a7a4 100644 --- a/homeassistant/components/dlna_dms/manifest.json +++ b/homeassistant/components/dlna_dms/manifest.json @@ -8,7 +8,7 @@ "documentation": "https://www.home-assistant.io/integrations/dlna_dms", "iot_class": "local_polling", "quality_scale": "platinum", - "requirements": ["async-upnp-client==0.33.1"], + "requirements": ["async-upnp-client==0.33.2"], "ssdp": [ { "deviceType": "urn:schemas-upnp-org:device:MediaServer:1", diff --git a/homeassistant/components/samsungtv/manifest.json b/homeassistant/components/samsungtv/manifest.json index 027badc189f..9d00282d8da 100644 --- a/homeassistant/components/samsungtv/manifest.json +++ b/homeassistant/components/samsungtv/manifest.json @@ -39,7 +39,7 @@ "samsungctl[websocket]==0.7.1", "samsungtvws[async,encrypted]==2.6.0", "wakeonlan==2.1.0", - "async-upnp-client==0.33.1" + "async-upnp-client==0.33.2" ], "ssdp": [ { diff --git a/homeassistant/components/ssdp/manifest.json b/homeassistant/components/ssdp/manifest.json index cd1245c653c..caae5801b21 100644 --- a/homeassistant/components/ssdp/manifest.json +++ b/homeassistant/components/ssdp/manifest.json @@ -9,5 +9,5 @@ "iot_class": "local_push", "loggers": ["async_upnp_client"], "quality_scale": "internal", - "requirements": ["async-upnp-client==0.33.1"] + "requirements": ["async-upnp-client==0.33.2"] } diff --git a/homeassistant/components/upnp/manifest.json b/homeassistant/components/upnp/manifest.json index 1ffb8cfd946..8112726607e 100644 --- a/homeassistant/components/upnp/manifest.json +++ b/homeassistant/components/upnp/manifest.json @@ -8,7 +8,7 @@ "integration_type": "device", "iot_class": "local_polling", "loggers": ["async_upnp_client"], - "requirements": ["async-upnp-client==0.33.1", "getmac==0.8.2"], + "requirements": ["async-upnp-client==0.33.2", "getmac==0.8.2"], "ssdp": [ { "st": "urn:schemas-upnp-org:device:InternetGatewayDevice:1" diff --git a/homeassistant/components/yeelight/manifest.json b/homeassistant/components/yeelight/manifest.json index a3d4e900c57..c6f54b45f1e 100644 --- a/homeassistant/components/yeelight/manifest.json +++ b/homeassistant/components/yeelight/manifest.json @@ -17,7 +17,7 @@ "iot_class": "local_push", "loggers": ["async_upnp_client", "yeelight"], "quality_scale": "platinum", - "requirements": ["yeelight==0.7.10", "async-upnp-client==0.33.1"], + "requirements": ["yeelight==0.7.10", "async-upnp-client==0.33.2"], "zeroconf": [ { "type": "_miio._udp.local.", diff --git a/homeassistant/package_constraints.txt b/homeassistant/package_constraints.txt index 39d53b69dce..033d87d63c3 100644 --- a/homeassistant/package_constraints.txt +++ b/homeassistant/package_constraints.txt @@ -5,7 +5,7 @@ aiodiscover==1.4.16 aiohttp==3.8.4 aiohttp_cors==0.7.0 astral==2.2 -async-upnp-client==0.33.1 +async-upnp-client==0.33.2 async_timeout==4.0.2 atomicwrites-homeassistant==1.4.1 attrs==22.2.0 diff --git a/requirements_all.txt b/requirements_all.txt index 965ff04fd0f..9d0d93056c5 100644 --- a/requirements_all.txt +++ b/requirements_all.txt @@ -377,7 +377,7 @@ asterisk_mbox==0.5.0 # homeassistant.components.ssdp # homeassistant.components.upnp # homeassistant.components.yeelight -async-upnp-client==0.33.1 +async-upnp-client==0.33.2 # homeassistant.components.supla asyncpysupla==0.0.5 diff --git a/requirements_test_all.txt b/requirements_test_all.txt index cb197823f1d..3c8c913e570 100644 --- a/requirements_test_all.txt +++ b/requirements_test_all.txt @@ -337,7 +337,7 @@ arcam-fmj==1.3.0 # homeassistant.components.ssdp # homeassistant.components.upnp # homeassistant.components.yeelight -async-upnp-client==0.33.1 +async-upnp-client==0.33.2 # homeassistant.components.sleepiq asyncsleepiq==1.3.5 diff --git a/tests/components/ssdp/test_init.py b/tests/components/ssdp/test_init.py index b068aed11ab..a80b9f48798 100644 --- a/tests/components/ssdp/test_init.py +++ b/tests/components/ssdp/test_init.py @@ -53,6 +53,7 @@ async def test_ssdp_flow_dispatched_on_st( "usn": "uuid:mock-udn::mock-st", "server": "mock-server", "ext": "", + "_source": "search", } ) ssdp_listener = await init_ssdp_component(hass) @@ -96,6 +97,7 @@ async def test_ssdp_flow_dispatched_on_manufacturer_url( "usn": "uuid:mock-udn::mock-st", "server": "mock-server", "ext": "", + "_source": "search", } ) ssdp_listener = await init_ssdp_component(hass) @@ -149,6 +151,7 @@ async def test_scan_match_upnp_devicedesc_manufacturer( "st": "mock-st", "location": "http://1.1.1.1", "usn": "uuid:mock-udn::mock-st", + "_source": "search", } ) ssdp_listener = await init_ssdp_component(hass) @@ -193,6 +196,7 @@ async def test_scan_match_upnp_devicedesc_devicetype( "st": "mock-st", "location": "http://1.1.1.1", "usn": "uuid:mock-udn::mock-st", + "_source": "search", } ) ssdp_listener = await init_ssdp_component(hass) @@ -290,6 +294,7 @@ async def test_scan_not_all_match( "st": "mock-st", "location": "http://1.1.1.1", "usn": "uuid:mock-udn::mock-st", + "_source": "search", } ) ssdp_listener = await init_ssdp_component(hass) @@ -333,6 +338,7 @@ async def test_flow_start_only_alive( "st": "mock-st", "location": "http://1.1.1.1", "usn": "uuid:mock-udn::mock-st", + "_source": "search", } ) ssdp_listener._on_search(mock_ssdp_search_response) @@ -350,6 +356,7 @@ async def test_flow_start_only_alive( "usn": "uuid:mock-udn::mock-st", "nt": "upnp:rootdevice", "nts": "ssdp:alive", + "_source": "advertisement", } ) ssdp_listener._on_alive(mock_ssdp_advertisement) @@ -407,6 +414,7 @@ async def test_discovery_from_advertisement_sets_ssdp_st( "nts": "ssdp:alive", "location": "http://1.1.1.1", "usn": "uuid:mock-udn::mock-st", + "_source": "advertisement", } ) ssdp_listener._on_alive(mock_ssdp_advertisement) @@ -481,6 +489,7 @@ async def test_scan_with_registered_callback( "server": "mock-server", "x-rincon-bootseq": "55", "ext": "", + "_source": "search", } ) ssdp_listener = await init_ssdp_component(hass) @@ -577,6 +586,7 @@ async def test_getting_existing_headers( "USN": "uuid:TIVRTLSR7ANF-D6E-1557809135086-RETAIL::urn:mdx-netflix-com:service:target:3", "SERVER": "mock-server", "EXT": "", + "_source": "search", } ) ssdp_listener = await init_ssdp_component(hass) @@ -818,6 +828,7 @@ async def test_flow_dismiss_on_byebye( "st": "mock-st", "location": "http://1.1.1.1", "usn": "uuid:mock-udn::mock-st", + "_source": "search", } ) ssdp_listener._on_search(mock_ssdp_search_response) @@ -835,6 +846,7 @@ async def test_flow_dismiss_on_byebye( "usn": "uuid:mock-udn::mock-st", "nt": "upnp:rootdevice", "nts": "ssdp:alive", + "_source": "advertisement", } ) ssdp_listener._on_alive(mock_ssdp_advertisement)