File tree 1 file changed +4
-4
lines changed
1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -68,8 +68,8 @@ async def test_TC_TCTL_2_3(self):
68
68
self .step (2 )
69
69
if self .attribute_guard (endpoint = self .endpoint , attribute = attributes .SelectedTemperatureLevel ):
70
70
selected_temp = await self .read_single_attribute_check_success (
71
- cluster = Clusters . Objects . TemperatureControl ,
72
- attribute = Clusters . TemperatureControl .Attributes .SelectedTemperatureLevel
71
+ cluster = cluster ,
72
+ attribute = cluster .Attributes .SelectedTemperatureLevel
73
73
)
74
74
asserts .assert_true (0 <= selected_temp <= 31 ,
75
75
f"SelectedTemperatureLevel { selected_temp } is out of range [0-31]" )
@@ -78,8 +78,8 @@ async def test_TC_TCTL_2_3(self):
78
78
self .step (3 )
79
79
if self .attribute_guard (endpoint = self .endpoint , attribute = attributes .SupportedTemperatureLevels ):
80
80
supported_temps = await self .read_single_attribute_check_success (
81
- cluster = Clusters . Objects . TemperatureControl ,
82
- attribute = Clusters . TemperatureControl .Attributes .SupportedTemperatureLevels
81
+ cluster = cluster ,
82
+ attribute = cluster .Attributes .SupportedTemperatureLevels
83
83
)
84
84
asserts .assert_true (isinstance (supported_temps , list ),
85
85
"SupportedTemperatureLevels should be a list" )
You can’t perform that action at this time.
0 commit comments