Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion homeassistant/components/zwave_js/cover.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
from typing import Any

from zwave_js_server.client import Client as ZwaveClient
from zwave_js_server.const.command_class.barrior_operator import BarrierState
from zwave_js_server.const.command_class.barrier_operator import BarrierState
from zwave_js_server.model.value import Value as ZwaveValue

from homeassistant.components.cover import (
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -32,8 +32,8 @@
)
from zwave_js_server.model.node import Node as ZwaveNode
from zwave_js_server.model.value import Value as ZwaveValue, get_value_id
from zwave_js_server.util.command_class import (
get_meter_scale_type,
from zwave_js_server.util.command_class.meter import get_meter_scale_type
from zwave_js_server.util.command_class.multilevel_sensor import (
get_multilevel_sensor_type,
)

Expand Down
2 changes: 1 addition & 1 deletion homeassistant/components/zwave_js/manifest.json
Original file line number Diff line number Diff line change
Expand Up @@ -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.29.1"],
"requirements": ["zwave-js-server-python==0.30.0"],
"codeowners": ["@home-assistant/z-wave"],
"dependencies": ["usb", "http", "websocket_api"],
"iot_class": "local_push",
Expand Down
2 changes: 1 addition & 1 deletion homeassistant/components/zwave_js/sensor.py
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
)
from zwave_js_server.model.node import Node as ZwaveNode
from zwave_js_server.model.value import ConfigurationValue
from zwave_js_server.util.command_class import get_meter_type
from zwave_js_server.util.command_class.meter import get_meter_type

from homeassistant.components.sensor import (
DEVICE_CLASS_ENERGY,
Expand Down
2 changes: 1 addition & 1 deletion homeassistant/components/zwave_js/switch.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
from typing import Any

from zwave_js_server.client import Client as ZwaveClient
from zwave_js_server.const.command_class.barrior_operator import (
from zwave_js_server.const.command_class.barrier_operator import (
BarrierEventSignalingSubsystemState,
)

Expand Down
2 changes: 1 addition & 1 deletion requirements_all.txt
Original file line number Diff line number Diff line change
Expand Up @@ -2489,4 +2489,4 @@ zigpy==0.37.1
zm-py==0.5.2

# homeassistant.components.zwave_js
zwave-js-server-python==0.29.1
zwave-js-server-python==0.30.0
2 changes: 1 addition & 1 deletion requirements_test_all.txt
Original file line number Diff line number Diff line change
Expand Up @@ -1400,4 +1400,4 @@ zigpy-znp==0.5.4
zigpy==0.37.1

# homeassistant.components.zwave_js
zwave-js-server-python==0.29.1
zwave-js-server-python==0.30.0
8 changes: 4 additions & 4 deletions tests/components/zwave_js/test_api.py
Original file line number Diff line number Diff line change
Expand Up @@ -338,7 +338,7 @@ async def test_add_node_secure(
assert len(client.async_send_command.call_args_list) == 1
assert client.async_send_command.call_args[0][0] == {
"command": "controller.begin_inclusion",
"options": {"inclusionStrategy": InclusionStrategy.SECURITY_S0},
"options": {"strategy": InclusionStrategy.SECURITY_S0},
}

client.async_send_command.reset_mock()
Expand All @@ -363,7 +363,7 @@ async def test_add_node(
assert len(client.async_send_command.call_args_list) == 1
assert client.async_send_command.call_args[0][0] == {
"command": "controller.begin_inclusion",
"options": {"inclusionStrategy": InclusionStrategy.INSECURE},
"options": {"strategy": InclusionStrategy.INSECURE},
}

event = Event(
Expand Down Expand Up @@ -671,7 +671,7 @@ async def test_replace_failed_node_secure(
assert client.async_send_command.call_args[0][0] == {
"command": "controller.replace_failed_node",
"nodeId": nortek_thermostat.node_id,
"options": {"inclusionStrategy": InclusionStrategy.SECURITY_S0},
"options": {"strategy": InclusionStrategy.SECURITY_S0},
}

client.async_send_command.reset_mock()
Expand Down Expand Up @@ -720,7 +720,7 @@ async def test_replace_failed_node(
assert client.async_send_command.call_args[0][0] == {
"command": "controller.replace_failed_node",
"nodeId": nortek_thermostat.node_id,
"options": {"inclusionStrategy": InclusionStrategy.INSECURE},
"options": {"strategy": InclusionStrategy.INSECURE},
}

client.async_send_command.reset_mock()
Expand Down