Skip to content

Commit 4ef60a0

Browse files
author
autoruff
committed
fixup: relay-switch-noraise Python code fixed using ruff
1 parent ca9ae24 commit 4ef60a0

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

plugwise/__init__.py

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -401,9 +401,7 @@ async def set_switch_state(
401401
) -> None:
402402
"""Set the given State of the relevant Switch."""
403403
try:
404-
await self._smile_api.set_switch_state(
405-
appl_id, members, model, state
406-
)
404+
await self._smile_api.set_switch_state(appl_id, members, model, state)
407405
except ConnectionFailedError as exc:
408406
raise ConnectionFailedError(
409407
f"Failed to set switch state: {str(exc)}"

0 commit comments

Comments
 (0)