File tree Expand file tree Collapse file tree 1 file changed +9
-0
lines changed
Expand file tree Collapse file tree 1 file changed +9
-0
lines changed Original file line number Diff line number Diff line change @@ -656,6 +656,14 @@ async def tinker_max_boiler_temp(smile):
656656 except pw_exceptions .PlugwiseError :
657657 _LOGGER .info (" + failed as intended" )
658658
659+ @staticmethod
660+ async def tinker_temp_offset (smile , dev_id ):
661+ """Change temperature_offset to test functionality."""
662+ new_offset = 1.0
663+ _LOGGER .info ("- Adjusting temperature offset to %s" , new_offset )
664+ await smile .set_temperature_offset ("dummy" , dev_id , new_offset )
665+ _LOGGER .info (" + worked as intended" )
666+
659667 @pytest .mark .asyncio
660668 async def test_connect_legacy_anna (self ):
661669 """Test a legacy Anna device."""
@@ -1438,6 +1446,7 @@ async def test_connect_anna_without_boiler_fw42(self):
14381446 smile , "c34c6864216446528e95d88985e714cc" , good_schedules = ["Normal" ]
14391447 )
14401448 assert result
1449+ await self .tinker_temp_offset (smile , "7ffbb3ab4b6c4ab2915d7510f7bf8fe9" )
14411450 await smile .close_connection ()
14421451 await self .disconnect (server , client )
14431452
You can’t perform that action at this time.
0 commit comments