@@ -174,6 +174,9 @@ test.register_message_test(
174174 clusters .FanControl .attributes .PercentSetting :write (mock_device , 1 , 50 )
175175 }
176176 }
177+ },
178+ {
179+ min_api_version = 19
177180 }
178181)
179182
@@ -245,6 +248,9 @@ test.register_message_test(
245248 direction = " send" ,
246249 message = mock_device :generate_test_message (" main" , capabilities .fanMode .fanMode (" auto" ))
247250 }
251+ },
252+ {
253+ min_api_version = 19
248254 }
249255)
250256
@@ -331,6 +337,9 @@ test.register_message_test(
331337 clusters .FanControl .attributes .FanMode :write (mock_device , 1 , clusters .FanControl .types .FanModeEnum .AUTO )
332338 }
333339 }
340+ },
341+ {
342+ min_api_version = 19
334343 }
335344)
336345test .register_message_test (
@@ -441,6 +450,9 @@ test.register_message_test(
441450 capabilities .fanMode .fanMode .high .NAME
442451 }, {visibility = {displayed = false }}))
443452 }
453+ },
454+ {
455+ min_api_version = 19
444456 }
445457)
446458
@@ -476,6 +488,9 @@ test.register_message_test(
476488 direction = " send" ,
477489 message = mock_device :generate_test_message (" main" , capabilities .windMode .windMode .naturalWind ())
478490 }
491+ },
492+ {
493+ min_api_version = 19
479494 }
480495)
481496
@@ -514,6 +529,9 @@ test.register_message_test(
514529 clusters .FanControl .attributes .WindSetting :write (mock_device , 1 , clusters .FanControl .types .WindSettingMask .NATURAL_WIND )
515530 }
516531 }
532+ },
533+ {
534+ min_api_version = 19
517535 }
518536)
519537
@@ -572,6 +590,9 @@ test.register_message_test(
572590 direction = " send" ,
573591 message = mock_device :generate_test_message (" hepaFilter" , capabilities .filterStatus .filterStatus .replace ())
574592 },
593+ },
594+ {
595+ min_api_version = 19
575596 }
576597)
577598
@@ -630,6 +651,9 @@ test.register_message_test(
630651 direction = " send" ,
631652 message = mock_device :generate_test_message (" activatedCarbonFilter" , capabilities .filterStatus .filterStatus .replace ())
632653 },
654+ },
655+ {
656+ min_api_version = 19
633657 }
634658)
635659
@@ -640,7 +664,10 @@ test.register_coroutine_test(
640664 mock_device_onoff :expect_metadata_update ({ profile = " extractor-hood-wind-light" })
641665 mock_device_onoff :expect_metadata_update ({ provisioning_state = " PROVISIONED" })
642666 end ,
643- { test_init = test_init_onoff }
667+ {
668+ test_init = test_init_onoff ,
669+ min_api_version = 19
670+ }
644671)
645672
646673test .register_coroutine_test (
@@ -663,7 +690,10 @@ test.register_coroutine_test(
663690 clusters .OnOff .server .commands .Off (mock_device_onoff , 2 )
664691 })
665692 end ,
666- { test_init = test_init_onoff }
693+ {
694+ test_init = test_init_onoff ,
695+ min_api_version = 19
696+ }
667697)
668698
669699test .register_coroutine_test (
@@ -684,7 +714,10 @@ test.register_coroutine_test(
684714 mock_device_onoff :generate_test_message (" light" , capabilities .switch .switch .off ())
685715 )
686716 end ,
687- { test_init = test_init_onoff }
717+ {
718+ test_init = test_init_onoff ,
719+ min_api_version = 19
720+ }
688721)
689722
690723test .run_registered_tests ()
0 commit comments