We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2f2461c commit fc76fefCopy full SHA for fc76fef
tests/test_anna.py
@@ -407,6 +407,19 @@ async def test_connect_anna_elga_2_cooling(self):
407
assert self._cooling_enabled
408
assert self._cooling_active
409
410
+ # Simulate a change of season: from cooling to heating after an update_interval
411
+ testdata_updated = self.load_testdata(
412
+ SMILE_TYPE, f"{self.smile_setup}_UPDATED_DATA"
413
+ )
414
+
415
+ self.smile_setup = "updated/anna_heatpump_cooling"
416
+ await self.device_test(
417
+ smile, "2020-04-05 00:00:01", testdata_updated, initialize=False
418
419
+ assert self.cooling_present
420
+ assert not self._cooling_enabled
421
+ assert not self._cooling_active
422
423
await smile.close_connection()
424
await self.disconnect(server, client)
425
0 commit comments