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:
Martin Hjelmare 2024-09-13 13:22:37 +02:00 committed by GitHub
parent 13d83d86f6
commit c7e9096dfd
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
4 changed files with 11 additions and 5 deletions

View File

@ -9,7 +9,7 @@
"iot_class": "local_push",
"loggers": ["zwave_js_server"],
"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": [
{
"vid": "0658",

View File

@ -3053,7 +3053,7 @@ ziggo-mediabox-xl==1.1.0
zm-py==0.5.4
# homeassistant.components.zwave_js
zwave-js-server-python==0.57.0
zwave-js-server-python==0.58.0
# homeassistant.components.zwave_me
zwave-me-ws==0.4.3

View File

@ -2424,7 +2424,7 @@ zeversolar==0.3.1
zha==0.0.32
# homeassistant.components.zwave_js
zwave-js-server-python==0.57.0
zwave-js-server-python==0.58.0
# homeassistant.components.zwave_me
zwave-me-ws==0.4.3

View File

@ -95,7 +95,9 @@ async def test_door_lock(
)
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()
@ -194,6 +196,7 @@ async def test_door_lock(
"insideHandlesCanOpenDoorConfiguration": [True, True, True, True],
"operationType": 2,
"outsideHandlesCanOpenDoorConfiguration": [True, True, True, True],
"lockTimeoutConfiguration": 1,
}
]
assert args["commandClass"] == 98
@ -239,6 +242,7 @@ async def test_door_lock(
"insideHandlesCanOpenDoorConfiguration": [True, True, True, True],
"operationType": 2,
"outsideHandlesCanOpenDoorConfiguration": [True, True, True, True],
"lockTimeoutConfiguration": 1,
}
]
assert args["commandClass"] == 98
@ -294,7 +298,9 @@ async def test_door_lock(
node.receive_event(event)
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(