mirror of
https://github.com/home-assistant/core.git
synced 2025-07-18 18:57:06 +00:00
Bump zwave-js-server-python to 0.55.3 (#107225)
Co-authored-by: Martin Hjelmare <marhje52@gmail.com>
This commit is contained in:
parent
6033a7c3d4
commit
85cdbb5ade
@ -9,7 +9,7 @@
|
||||
"iot_class": "local_push",
|
||||
"loggers": ["zwave_js_server"],
|
||||
"quality_scale": "platinum",
|
||||
"requirements": ["pyserial==3.5", "zwave-js-server-python==0.55.2"],
|
||||
"requirements": ["pyserial==3.5", "zwave-js-server-python==0.55.3"],
|
||||
"usb": [
|
||||
{
|
||||
"vid": "0658",
|
||||
|
@ -2896,7 +2896,7 @@ zigpy==0.60.4
|
||||
zm-py==0.5.2
|
||||
|
||||
# homeassistant.components.zwave_js
|
||||
zwave-js-server-python==0.55.2
|
||||
zwave-js-server-python==0.55.3
|
||||
|
||||
# homeassistant.components.zwave_me
|
||||
zwave-me-ws==0.4.3
|
||||
|
@ -2192,7 +2192,7 @@ zigpy-znp==0.12.1
|
||||
zigpy==0.60.4
|
||||
|
||||
# homeassistant.components.zwave_js
|
||||
zwave-js-server-python==0.55.2
|
||||
zwave-js-server-python==0.55.3
|
||||
|
||||
# homeassistant.components.zwave_me
|
||||
zwave-me-ws==0.4.3
|
||||
|
@ -348,7 +348,11 @@ async def test_power_level_notification(
|
||||
|
||||
|
||||
async def test_unknown_notification(
|
||||
hass: HomeAssistant, hank_binary_switch, integration, client
|
||||
hass: HomeAssistant,
|
||||
caplog: pytest.LogCaptureFixture,
|
||||
hank_binary_switch,
|
||||
integration,
|
||||
client,
|
||||
) -> None:
|
||||
"""Test behavior of unknown notification type events."""
|
||||
# just pick a random node to fake the notification event
|
||||
@ -358,8 +362,9 @@ async def test_unknown_notification(
|
||||
# by the lib. We will use a class that is guaranteed not to be recognized
|
||||
notification_obj = AsyncMock()
|
||||
notification_obj.node = node
|
||||
with pytest.raises(TypeError):
|
||||
node.emit("notification", {"notification": notification_obj})
|
||||
node.emit("notification", {"notification": notification_obj})
|
||||
|
||||
assert f"Unhandled notification type: {notification_obj}" in caplog.text
|
||||
|
||||
notification_events = async_capture_events(hass, "zwave_js_notification")
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user