Skip to content

Commit 7c05782

Browse files
committed
Define initial switch_change value
1 parent 6cf09d1 commit 7c05782

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

tests/test_smile.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -413,6 +413,7 @@ async def tinker_switch(
413413
"""Turn a Switch on and off to test functionality."""
414414
_LOGGER.info("Asserting modifying settings for switch devices:")
415415
_LOGGER.info("- Devices (%s):", dev_id)
416+
switch_change = False
416417
for new_state in [False, True, False]:
417418
_LOGGER.info("- Switching %s", new_state)
418419
try:

0 commit comments

Comments
 (0)