mirror of
https://github.com/home-assistant/core.git
synced 2025-07-23 05:07:41 +00:00
Bump zwave-js-server-python to 0.58.0 (#125666)
* Bump zwave-js-server-python to 0.58.0 * Update lock test
This commit is contained in:
parent
13d83d86f6
commit
c7e9096dfd
@ -9,7 +9,7 @@
|
|||||||
"iot_class": "local_push",
|
"iot_class": "local_push",
|
||||||
"loggers": ["zwave_js_server"],
|
"loggers": ["zwave_js_server"],
|
||||||
"quality_scale": "platinum",
|
"quality_scale": "platinum",
|
||||||
"requirements": ["pyserial==3.5", "zwave-js-server-python==0.57.0"],
|
"requirements": ["pyserial==3.5", "zwave-js-server-python==0.58.0"],
|
||||||
"usb": [
|
"usb": [
|
||||||
{
|
{
|
||||||
"vid": "0658",
|
"vid": "0658",
|
||||||
|
@ -3053,7 +3053,7 @@ ziggo-mediabox-xl==1.1.0
|
|||||||
zm-py==0.5.4
|
zm-py==0.5.4
|
||||||
|
|
||||||
# homeassistant.components.zwave_js
|
# homeassistant.components.zwave_js
|
||||||
zwave-js-server-python==0.57.0
|
zwave-js-server-python==0.58.0
|
||||||
|
|
||||||
# homeassistant.components.zwave_me
|
# homeassistant.components.zwave_me
|
||||||
zwave-me-ws==0.4.3
|
zwave-me-ws==0.4.3
|
||||||
|
@ -2424,7 +2424,7 @@ zeversolar==0.3.1
|
|||||||
zha==0.0.32
|
zha==0.0.32
|
||||||
|
|
||||||
# homeassistant.components.zwave_js
|
# homeassistant.components.zwave_js
|
||||||
zwave-js-server-python==0.57.0
|
zwave-js-server-python==0.58.0
|
||||||
|
|
||||||
# homeassistant.components.zwave_me
|
# homeassistant.components.zwave_me
|
||||||
zwave-me-ws==0.4.3
|
zwave-me-ws==0.4.3
|
||||||
|
@ -95,7 +95,9 @@ async def test_door_lock(
|
|||||||
)
|
)
|
||||||
node.receive_event(event)
|
node.receive_event(event)
|
||||||
|
|
||||||
assert hass.states.get(SCHLAGE_BE469_LOCK_ENTITY).state == STATE_LOCKED
|
state = hass.states.get(SCHLAGE_BE469_LOCK_ENTITY)
|
||||||
|
assert state
|
||||||
|
assert state.state == STATE_LOCKED
|
||||||
|
|
||||||
client.async_send_command.reset_mock()
|
client.async_send_command.reset_mock()
|
||||||
|
|
||||||
@ -194,6 +196,7 @@ async def test_door_lock(
|
|||||||
"insideHandlesCanOpenDoorConfiguration": [True, True, True, True],
|
"insideHandlesCanOpenDoorConfiguration": [True, True, True, True],
|
||||||
"operationType": 2,
|
"operationType": 2,
|
||||||
"outsideHandlesCanOpenDoorConfiguration": [True, True, True, True],
|
"outsideHandlesCanOpenDoorConfiguration": [True, True, True, True],
|
||||||
|
"lockTimeoutConfiguration": 1,
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
assert args["commandClass"] == 98
|
assert args["commandClass"] == 98
|
||||||
@ -239,6 +242,7 @@ async def test_door_lock(
|
|||||||
"insideHandlesCanOpenDoorConfiguration": [True, True, True, True],
|
"insideHandlesCanOpenDoorConfiguration": [True, True, True, True],
|
||||||
"operationType": 2,
|
"operationType": 2,
|
||||||
"outsideHandlesCanOpenDoorConfiguration": [True, True, True, True],
|
"outsideHandlesCanOpenDoorConfiguration": [True, True, True, True],
|
||||||
|
"lockTimeoutConfiguration": 1,
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
assert args["commandClass"] == 98
|
assert args["commandClass"] == 98
|
||||||
@ -294,7 +298,9 @@ async def test_door_lock(
|
|||||||
node.receive_event(event)
|
node.receive_event(event)
|
||||||
|
|
||||||
assert node.status == NodeStatus.DEAD
|
assert node.status == NodeStatus.DEAD
|
||||||
assert hass.states.get(SCHLAGE_BE469_LOCK_ENTITY).state == STATE_UNAVAILABLE
|
state = hass.states.get(SCHLAGE_BE469_LOCK_ENTITY)
|
||||||
|
assert state
|
||||||
|
assert state.state == STATE_UNAVAILABLE
|
||||||
|
|
||||||
|
|
||||||
async def test_only_one_lock(
|
async def test_only_one_lock(
|
||||||
|
Loading…
x
Reference in New Issue
Block a user