1
0
mirror of https://github.com/home-assistant/core.git synced 2025-12-24 12:59:34 +00:00

Bump Z-Wave JS Server Python to 0.9.0 (#45181)

This commit is contained in:
Paulus Schoutsen
2021-01-15 10:59:35 +01:00
committed by GitHub
parent dee0f887de
commit 93c2f2bbeb
5 changed files with 32 additions and 32 deletions

View File

@@ -18,7 +18,7 @@ async def test_switch(hass, hank_binary_switch, integration, client):
"switch", "turn_on", {"entity_id": SWITCH_ENTITY}, blocking=True
)
args = client.async_send_json_message.call_args[0][0]
args = client.async_send_command.call_args[0][0]
assert args["command"] == "node.set_value"
assert args["nodeId"] == 32
assert args["valueId"] == {
@@ -65,7 +65,7 @@ async def test_switch(hass, hank_binary_switch, integration, client):
"switch", "turn_off", {"entity_id": SWITCH_ENTITY}, blocking=True
)
args = client.async_send_json_message.call_args[0][0]
args = client.async_send_command.call_args[0][0]
assert args["command"] == "node.set_value"
assert args["nodeId"] == 32
assert args["valueId"] == {