Skip to content

Commit 69e75e2

Browse files
committed
Ruffed
1 parent 8f41b59 commit 69e75e2

File tree

2 files changed

+2
-8
lines changed

2 files changed

+2
-8
lines changed

plugwise_usb/nodes/scan.py

Lines changed: 1 addition & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -9,13 +9,7 @@
99
import logging
1010
from typing import Any, Final
1111

12-
from ..api import (
13-
MotionConfig,
14-
MotionState,
15-
NodeEvent,
16-
NodeFeature,
17-
NodeType,
18-
)
12+
from ..api import MotionConfig, MotionState, NodeEvent, NodeFeature, NodeType
1913
from ..connection import StickController
2014
from ..constants import MAX_UINT_2
2115
from ..exceptions import MessageError, NodeError, NodeTimeout

tests/test_usb.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2233,7 +2233,7 @@ async def load_callback(event: pw_api.NodeEvent, mac: str) -> None: # type: ign
22332233
test_scan.motion_config.sensitivity_level == 30
22342234
)
22352235
assert not await test_scan.set_motion_sensitivity_level(30)
2236-
)
2236+
22372237
assert not test_scan.motion_config.dirty
22382238
assert await test_scan.set_motion_sensitivity_level(20)
22392239
assert test_scan.motion_config.dirty

0 commit comments

Comments
 (0)