mirror of
https://github.com/home-assistant/core.git
synced 2025-11-15 22:10:09 +00:00
Bump zwave-js-server-python to 0.41.0 (#76903)
This commit is contained in:
@@ -6,6 +6,7 @@ from unittest.mock import patch
|
||||
|
||||
import pytest
|
||||
from zwave_js_server.const import (
|
||||
ExclusionStrategy,
|
||||
InclusionState,
|
||||
InclusionStrategy,
|
||||
LogLevel,
|
||||
@@ -68,8 +69,8 @@ from homeassistant.components.zwave_js.api import (
|
||||
SECURITY_CLASSES,
|
||||
SPECIFIC_DEVICE_CLASS,
|
||||
STATUS,
|
||||
STRATEGY,
|
||||
TYPE,
|
||||
UNPROVISION,
|
||||
VALUE,
|
||||
VERSION,
|
||||
)
|
||||
@@ -1528,7 +1529,7 @@ async def test_remove_node(
|
||||
ID: 2,
|
||||
TYPE: "zwave_js/remove_node",
|
||||
ENTRY_ID: entry.entry_id,
|
||||
UNPROVISION: True,
|
||||
STRATEGY: ExclusionStrategy.EXCLUDE_ONLY,
|
||||
}
|
||||
)
|
||||
|
||||
@@ -1538,7 +1539,7 @@ async def test_remove_node(
|
||||
assert len(client.async_send_command.call_args_list) == 1
|
||||
assert client.async_send_command.call_args[0][0] == {
|
||||
"command": "controller.begin_exclusion",
|
||||
"unprovision": True,
|
||||
"strategy": 0,
|
||||
}
|
||||
|
||||
# Test FailedZWaveCommand is caught
|
||||
|
||||
Reference in New Issue
Block a user