Skip to content

Commit bdd72af

Browse files
greensaleclorimer
authored andcommitted
update z-wave window shade tests to include the component in commands
1 parent f87ebd1 commit bdd72af

File tree

5 files changed

+8
-8
lines changed

5 files changed

+8
-8
lines changed

drivers/SmartThings/zwave-window-treatment/src/test/test_fibaro_roller_shutter.lua

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -303,7 +303,7 @@ test.register_coroutine_test(
303303
test.socket.capability:__queue_receive(
304304
{
305305
mock_fibaro_roller_shutter.id,
306-
{ capability = "windowShadePreset", command = "presetPosition", args = {} }
306+
{ capability = "windowShadePreset", component = "main", command = "presetPosition", args = {} }
307307
}
308308
)
309309
test.socket.zwave:__expect_send(

drivers/SmartThings/zwave-window-treatment/src/test/test_qubino_flush_shutter.lua

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -233,7 +233,7 @@ test.register_coroutine_test(
233233
test.socket.capability:__queue_receive(
234234
{
235235
mock_qubino_flush_shutter.id,
236-
{ capability = "windowShadePreset", command = "presetPosition", args = {} }
236+
{ capability = "windowShadePreset", component = "main", command = "presetPosition", args = {} }
237237
}
238238
)
239239
test.socket.zwave:__expect_send(

drivers/SmartThings/zwave-window-treatment/src/test/test_zwave_iblinds_window_treatment.lua

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -214,7 +214,7 @@ test.register_coroutine_test(
214214
test.socket.capability:__queue_receive(
215215
{
216216
mock_blind.id,
217-
{ capability = "windowShadePreset", command = "presetPosition", args = {} }
217+
{ capability = "windowShadePreset", component = "main", command = "presetPosition", args = {} }
218218
}
219219
)
220220
test.socket.capability:__expect_send(
@@ -251,7 +251,7 @@ test.register_coroutine_test(
251251
test.socket.capability:__queue_receive(
252252
{
253253
mock_blind.id,
254-
{ capability = "windowShadePreset", command = "presetPosition", args = {} }
254+
{ capability = "windowShadePreset", component = "main", command = "presetPosition", args = {} }
255255
}
256256
)
257257
test.socket.capability:__expect_send(
@@ -374,7 +374,7 @@ test.register_coroutine_test(
374374
test.socket.capability:__queue_receive(
375375
{
376376
mock_blind_v3.id,
377-
{ capability = "windowShadePreset", command = "presetPosition", args = {} }
377+
{ capability = "windowShadePreset", component = "main", command = "presetPosition", args = {} }
378378
}
379379
)
380380
test.socket.capability:__expect_send(
@@ -415,7 +415,7 @@ test.register_coroutine_test(
415415
test.socket.capability:__queue_receive(
416416
{
417417
mock_blind_v3.id,
418-
{ capability = "windowShadePreset", command = "presetPosition", args = {} }
418+
{ capability = "windowShadePreset", component = "main", command = "presetPosition", args = {} }
419419
}
420420
)
421421
test.socket.capability:__expect_send(

drivers/SmartThings/zwave-window-treatment/src/test/test_zwave_springs_window_treatment.lua

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ test.register_coroutine_test(
4848
test.socket.capability:__queue_receive(
4949
{
5050
mock_springs_window_fashion_shade.id,
51-
{ capability = "windowShadePreset", command = "presetPosition", args = {} }
51+
{ capability = "windowShadePreset", component = "main", command = "presetPosition", args = {} }
5252
}
5353
)
5454
test.socket.zwave:__expect_send(

drivers/SmartThings/zwave-window-treatment/src/test/test_zwave_window_treatment.lua

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -304,7 +304,7 @@ test.register_coroutine_test(
304304
test.socket.capability:__queue_receive(
305305
{
306306
mock_window_shade_switch_multilevel.id,
307-
{ capability = "windowShadePreset", command = "presetPosition", args = {} }
307+
{ capability = "windowShadePreset", component = "main", command = "presetPosition", args = {} }
308308
}
309309
)
310310
test.socket.zwave:__expect_send(

0 commit comments

Comments
 (0)