Skip to content

Commit 84f2e0b

Browse files
committed
CR: fix ruff
1 parent 4714f80 commit 84f2e0b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

plugwise_usb/nodes/circle.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1243,7 +1243,7 @@ def _correct_power_pulses(self, pulses: int, offset: int) -> float:
12431243
return 0.0
12441244

12451245
@raise_not_loaded
1246-
async def get_state(self, features: tuple[NodeFeature]) -> dict[NodeFeature, Any]:
1246+
async def get_state(self, features: tuple[NodeFeature]) -> dict[NodeFeature, Any]: # noqa: PLR0912
12471247
"""Update latest state for given feature."""
12481248
states: dict[NodeFeature, Any] = {}
12491249
if not self._available and not await self.is_online():

0 commit comments

Comments
 (0)