mirror of
https://github.com/home-assistant/core.git
synced 2025-07-20 03:37:07 +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",
|
"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.55.2"],
|
"requirements": ["pyserial==3.5", "zwave-js-server-python==0.55.3"],
|
||||||
"usb": [
|
"usb": [
|
||||||
{
|
{
|
||||||
"vid": "0658",
|
"vid": "0658",
|
||||||
|
@ -2896,7 +2896,7 @@ zigpy==0.60.4
|
|||||||
zm-py==0.5.2
|
zm-py==0.5.2
|
||||||
|
|
||||||
# homeassistant.components.zwave_js
|
# homeassistant.components.zwave_js
|
||||||
zwave-js-server-python==0.55.2
|
zwave-js-server-python==0.55.3
|
||||||
|
|
||||||
# homeassistant.components.zwave_me
|
# homeassistant.components.zwave_me
|
||||||
zwave-me-ws==0.4.3
|
zwave-me-ws==0.4.3
|
||||||
|
@ -2192,7 +2192,7 @@ zigpy-znp==0.12.1
|
|||||||
zigpy==0.60.4
|
zigpy==0.60.4
|
||||||
|
|
||||||
# homeassistant.components.zwave_js
|
# homeassistant.components.zwave_js
|
||||||
zwave-js-server-python==0.55.2
|
zwave-js-server-python==0.55.3
|
||||||
|
|
||||||
# homeassistant.components.zwave_me
|
# homeassistant.components.zwave_me
|
||||||
zwave-me-ws==0.4.3
|
zwave-me-ws==0.4.3
|
||||||
|
@ -348,7 +348,11 @@ async def test_power_level_notification(
|
|||||||
|
|
||||||
|
|
||||||
async def test_unknown_notification(
|
async def test_unknown_notification(
|
||||||
hass: HomeAssistant, hank_binary_switch, integration, client
|
hass: HomeAssistant,
|
||||||
|
caplog: pytest.LogCaptureFixture,
|
||||||
|
hank_binary_switch,
|
||||||
|
integration,
|
||||||
|
client,
|
||||||
) -> None:
|
) -> None:
|
||||||
"""Test behavior of unknown notification type events."""
|
"""Test behavior of unknown notification type events."""
|
||||||
# just pick a random node to fake the notification event
|
# just pick a random node to fake the notification event
|
||||||
@ -358,9 +362,10 @@ async def test_unknown_notification(
|
|||||||
# by the lib. We will use a class that is guaranteed not to be recognized
|
# by the lib. We will use a class that is guaranteed not to be recognized
|
||||||
notification_obj = AsyncMock()
|
notification_obj = AsyncMock()
|
||||||
notification_obj.node = node
|
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")
|
notification_events = async_capture_events(hass, "zwave_js_notification")
|
||||||
|
|
||||||
# Test a valid notification with an unsupported command class
|
# Test a valid notification with an unsupported command class
|
||||||
|
Loading…
x
Reference in New Issue
Block a user