Skip to content

Commit 8caafe7

Browse files
committed
Add special single test for turning schedule on based on last_used
1 parent d65d313 commit 8caafe7

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

tests/test_smile.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1953,6 +1953,9 @@ async def test_connect_adam_plus_anna_new(self):
19531953
)
19541954
assert result
19551955

1956+
# special test-case for turning a schedule back on based onthe last_used schedule
1957+
await smile.set_schedule_state("f2bf9048bef64cc5b6d5110154e33c81", "off")
1958+
19561959
# bad schedule-state test
19571960
result = await self.tinker_thermostat_schedule(
19581961
smile,

0 commit comments

Comments
 (0)