From fd465df01614d87f3b3eecff47b4f77d2102dcbb Mon Sep 17 00:00:00 2001 From: Raman Gupta <7243222+raman325@users.noreply.github.com> Date: Wed, 19 Jan 2022 01:33:50 -0500 Subject: [PATCH] Bump zwave-js-server-python to 0.34.0 (#64407) --- .../components/zwave_js/manifest.json | 2 +- requirements_all.txt | 2 +- requirements_test_all.txt | 2 +- tests/components/zwave_js/test_api.py | 79 ++++++++++--------- 4 files changed, 43 insertions(+), 42 deletions(-) diff --git a/homeassistant/components/zwave_js/manifest.json b/homeassistant/components/zwave_js/manifest.json index 4e65a9fe093..f56255c736d 100644 --- a/homeassistant/components/zwave_js/manifest.json +++ b/homeassistant/components/zwave_js/manifest.json @@ -3,7 +3,7 @@ "name": "Z-Wave JS", "config_flow": true, "documentation": "https://www.home-assistant.io/integrations/zwave_js", - "requirements": ["zwave-js-server-python==0.33.0"], + "requirements": ["zwave-js-server-python==0.34.0"], "codeowners": ["@home-assistant/z-wave"], "dependencies": ["usb", "http", "websocket_api"], "iot_class": "local_push", diff --git a/requirements_all.txt b/requirements_all.txt index dc67604cf35..e1ccf5b4873 100644 --- a/requirements_all.txt +++ b/requirements_all.txt @@ -2555,4 +2555,4 @@ zigpy==0.42.0 zm-py==0.5.2 # homeassistant.components.zwave_js -zwave-js-server-python==0.33.0 +zwave-js-server-python==0.34.0 diff --git a/requirements_test_all.txt b/requirements_test_all.txt index c7eac7e90e9..ace39da47e1 100644 --- a/requirements_test_all.txt +++ b/requirements_test_all.txt @@ -1562,4 +1562,4 @@ zigpy-znp==0.6.4 zigpy==0.42.0 # homeassistant.components.zwave_js -zwave-js-server-python==0.33.0 +zwave-js-server-python==0.34.0 diff --git a/tests/components/zwave_js/test_api.py b/tests/components/zwave_js/test_api.py index 25465413365..16888840a36 100644 --- a/tests/components/zwave_js/test_api.py +++ b/tests/components/zwave_js/test_api.py @@ -629,19 +629,19 @@ async def test_add_node( "options": { "strategy": InclusionStrategy.SECURITY_S2, "provisioning": QRProvisioningInformation( - QRCodeVersion.S2, - [SecurityClass.S2_UNAUTHENTICATED], - "test", - 1, - 1, - 1, - 1, - 1, - 1, - "test", - None, - None, - None, + version=QRCodeVersion.S2, + security_classes=[SecurityClass.S2_UNAUTHENTICATED], + dsk="test", + generic_device_class=1, + specific_device_class=1, + installer_icon_type=1, + manufacturer_id=1, + product_type=1, + product_id=1, + application_version="test", + max_inclusion_request_interval=None, + uuid=None, + supported_protocols=None, ).to_dict(), }, } @@ -932,19 +932,19 @@ async def test_provision_smart_start_node(hass, integration, client, hass_ws_cli assert client.async_send_command.call_args[0][0] == { "command": "controller.provision_smart_start_node", "entry": QRProvisioningInformation( - QRCodeVersion.SMART_START, - [SecurityClass.S2_UNAUTHENTICATED], - "test", - 1, - 1, - 1, - 1, - 1, - 1, - "test", - None, - None, - None, + version=QRCodeVersion.SMART_START, + security_classes=[SecurityClass.S2_UNAUTHENTICATED], + dsk="test", + generic_device_class=1, + specific_device_class=1, + installer_icon_type=1, + manufacturer_id=1, + product_type=1, + product_id=1, + application_version="test", + max_inclusion_request_interval=None, + uuid=None, + supported_protocols=None, ).to_dict(), } @@ -1263,6 +1263,7 @@ async def test_parse_qr_code_string(hass, integration, client, hass_ws_client): "max_inclusion_request_interval": 1, "uuid": "test", "supported_protocols": [Protocols.ZWAVE], + "additional_properties": {}, } assert len(client.async_send_command.call_args_list) == 1 @@ -1762,19 +1763,19 @@ async def test_replace_failed_node( "options": { "strategy": InclusionStrategy.SECURITY_S2, "provisioning": QRProvisioningInformation( - QRCodeVersion.S2, - [SecurityClass.S2_UNAUTHENTICATED], - "test", - 1, - 1, - 1, - 1, - 1, - 1, - "test", - None, - None, - None, + version=QRCodeVersion.S2, + security_classes=[SecurityClass.S2_UNAUTHENTICATED], + dsk="test", + generic_device_class=1, + specific_device_class=1, + installer_icon_type=1, + manufacturer_id=1, + product_type=1, + product_id=1, + application_version="test", + max_inclusion_request_interval=None, + uuid=None, + supported_protocols=None, ).to_dict(), }, }