Skip to content

Commit afbb8b3

Browse files
committed
fix timing issue with aqara test
1 parent 9380f9c commit afbb8b3

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

drivers/SmartThings/zigbee-button/src/test/test_aqara_button.lua

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -270,6 +270,7 @@ test.register_coroutine_test(
270270
local attr_report_data = {
271271
{ PRIVATE_ATTRIBUTE_ID_ALIVE, data_types.OctetString.ID, "\x01\x21\xB8\x0B\x03\x28\x19\x04\x21\xA8\x13\x05\x21\x45\x08\x06\x24\x07\x00\x00\x00\x00\x08\x21\x15\x01\x0A\x21\xF5\x65\x0C\x20\x01\x64\x20\x01\x66\x20\x03\x67\x20\x01\x68\x21\xA8\x00" }
272272
}
273+
test.wait_for_events()
273274
test.socket.zigbee:__queue_receive({
274275
mock_device_h1_double_rocker.id,
275276
zigbee_test_utils.build_attribute_report(mock_device_h1_double_rocker, PRIVATE_CLUSTER_ID, attr_report_data,

0 commit comments

Comments
 (0)