Skip to content

Commit 418ee01

Browse files
committed
Update related test-function
1 parent 2b26e66 commit 418ee01

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

tests/test_smile.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -553,11 +553,11 @@ async def tinker_thermostat_schedule(
553553
new_schedule = new_schedule[1:]
554554
_LOGGER.info("- Adjusting schedule to %s", f"{new_schedule}{warning}")
555555
try:
556-
await smile.set_schedule_state(loc_id, new_schedule, state)
556+
await smile.set_schedule_state(loc_id, state, new_schedule)
557557
tinker_schedule_passed = True
558558
_LOGGER.info(" + working as intended")
559559
except pw_exceptions.PlugwiseError:
560-
_LOGGER.info(" + failed as expected")
560+
_LOGGER.info(" + failed as expected")te
561561
tinker_schedule_passed = True
562562
except (
563563
pw_exceptions.ErrorSendingCommandError,

0 commit comments

Comments
 (0)