@@ -542,6 +542,7 @@ async def tinker_thermostat_preset(self, smile, loc_id, unhappy=False):
542542 async def tinker_thermostat_schedule (
543543 self , smile , loc_id , state , good_schedules = None , single = False , unhappy = False
544544 ):
545+ """Toggle schedules to test functionality."""
545546 if good_schedules != []:
546547 if not single and not ("!VeryBogusSchedule" in good_schedules ):
547548 good_schedules .append ("!VeryBogusSchedule" )
@@ -3821,6 +3822,7 @@ async def test_connect_anna_heatpump_heating(self):
38213822 async def test_connect_anna_heatpump_cooling (self ):
38223823 """
38233824 Test an Anna with Elga setup in cooling mode.
3825+
38243826 This test also covers the situation that the operation-mode it switched
38253827 from heating to cooling due to the outdoor temperature rising above the
38263828 cooling_activation_outdoor_temperature threshold.
@@ -3937,8 +3939,9 @@ async def test_connect_anna_heatpump_cooling(self):
39373939 @pytest .mark .asyncio
39383940 async def test_connect_anna_heatpump_cooling_fake_firmware (self ):
39393941 """
3940- Test an Anna with a fake Loria/Thermastate setup in cooling mode. The
3941- Anna + Elga firmware has been amended with the point_log cooling_enabled and
3942+ Test an Anna with a fake Loria/Thermastate setup in cooling mode.
3943+
3944+ The Anna + Elga firmware has been amended with the point_log cooling_enabled and
39423945 gateway/features/cooling keys.
39433946 This test also covers the situation that the operation-mode it switched
39443947 from heating to cooling due to the outdoor temperature rising above the
@@ -4017,10 +4020,7 @@ async def test_connect_adam_onoff_cooling_fake_firmware(self):
40174020
40184021 @pytest .mark .asyncio
40194022 async def test_connect_anna_elga_2 (self ):
4020- """
4021- Test a 2nd Anna with Elga setup, cooling off, in idle mode
4022- (with missing outdoor temperature - solved).
4023- """
4023+ """Test a 2nd Anna with Elga setup, cooling off, in idle mode (with missing outdoor temperature - solved)."""
40244024 testdata = {
40254025 "ebd90df1ab334565b5895f37590ccff4" : {
40264026 "dev_class" : "thermostat" ,
@@ -4121,9 +4121,7 @@ async def test_connect_anna_elga_2(self):
41214121
41224122 @pytest .mark .asyncio
41234123 async def test_connect_anna_elga_2_schedule_off (self ):
4124- """
4125- Test Anna with Elga setup, cooling off, in idle mode, modified to schedule off.
4126- """
4124+ """Test Anna with Elga setup, cooling off, in idle mode, modified to schedule off."""
41274125 testdata = {
41284126 "ebd90df1ab334565b5895f37590ccff4" : {
41294127 "dev_class" : "thermostat" ,
@@ -4171,9 +4169,10 @@ async def test_connect_anna_elga_2_schedule_off(self):
41714169 @pytest .mark .asyncio
41724170 async def test_connect_anna_elga_2_cooling (self ):
41734171 """
4174- Test a 2nd Anna with Elga setup with cooling active. This testcase also covers
4175- testing of the generation of a cooling-based schedule, opposite the generation
4176- of a heating-based schedule.
4172+ Test a 2nd Anna with Elga setup with cooling active.
4173+
4174+ This testcase also covers testing of the generation of a cooling-based
4175+ schedule, opposite the generation of a heating-based schedule.
41774176 """
41784177 testdata = {
41794178 "ebd90df1ab334565b5895f37590ccff4" : {
0 commit comments