fix: remove unnecessary return statement in switch logic

This commit is contained in:
2026-07-06 22:40:42 +08:00
parent 1799547606
commit 21a1088ea4
-2
View File
@@ -152,9 +152,7 @@ class Switch:
if counter >= 1:
logger.warning(f'{self.name} switch {state} asset has evaluated to unknown too many times, '
f'asset should be re-verified')
return False
counter += 1
continue
# Click
if click_timer.reached():