@@ -89,7 +89,7 @@ async def test_TC_TSTAT_2_2(self):
89
89
occupiedCoolingSetpoint = await self .read_single_attribute_check_success (endpoint = endpoint , cluster = cluster , attribute = cluster .Attributes .OccupiedCoolingSetpoint )
90
90
occupiedHeatingSetpoint = await self .read_single_attribute_check_success (endpoint = endpoint , cluster = cluster , attribute = cluster .Attributes .OccupiedHeatingSetpoint )
91
91
deadband = await self .read_single_attribute_check_success (endpoint = endpoint , cluster = cluster , attribute = cluster .Attributes .MinSetpointDeadBand )
92
- deadband *= 10 # Unlike all the setpoints it affects, deadband is in 0.1C increments, because reasons
92
+ deadband *= 10 # Unlike all the setpoints it affects, deadband is in 0.1C increments, because reasons
93
93
unoccupiedCoolingSetpoint = None
94
94
unoccupiedHeatingSetpoint = None
95
95
@@ -125,7 +125,6 @@ async def test_TC_TSTAT_2_2(self):
125
125
unoccupiedCoolingSetpoint = await self .read_single_attribute_check_success (endpoint = endpoint , cluster = cluster , attribute = cluster .Attributes .UnoccupiedCoolingSetpoint )
126
126
asserts .assert_equal (unoccupiedCoolingSetpoint , targetCoolingSetpoint , "UnoccupiedCoolingSetpoint was not adjusted" )
127
127
128
-
129
128
self .step ("7" )
130
129
if self .pics_guard (self .check_pics ("TSTAT.S.F02" )) and unoccupiedHeatingSetpoint > minHeat :
131
130
targetCoolingSetpoint = (unoccupiedHeatingSetpoint + deadband ) - 1
@@ -134,5 +133,6 @@ async def test_TC_TSTAT_2_2(self):
134
133
unoccupiedHeatingSetpoint = await self .read_single_attribute_check_success (endpoint = endpoint , cluster = cluster , attribute = cluster .Attributes .UnoccupiedHeatingSetpoint )
135
134
asserts .assert_equal (unoccupiedHeatingSetpoint , targetHeatingSetpoint , "UnoccupiedHeatingSetpoint was not adjusted" )
136
135
136
+
137
137
if __name__ == "__main__" :
138
- default_matter_test_main ()
138
+ default_matter_test_main ()
0 commit comments