Skip to content

Commit 41e591b

Browse files
committed
style: Fix ruff formatting issues
1 parent 7cd3d1e commit 41e591b

2 files changed

Lines changed: 2 additions & 3 deletions

File tree

custom_components/bmw_wallbox/coordinator.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -726,7 +726,8 @@ async def async_start_charging(
726726
await asyncio.sleep(2)
727727

728728
max_current = self.data.get(
729-
"current_limit", self.config.get(CONF_MAX_CURRENT, DEFAULT_MAX_CURRENT)
729+
"current_limit",
730+
self.config.get(CONF_MAX_CURRENT, DEFAULT_MAX_CURRENT),
730731
)
731732
_LOGGER.info(
732733
"⚡ Sending SetChargingProfile(%dA) to enable current...",

tests/test_number.py

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -125,5 +125,3 @@ async def test_current_limit_handles_failed_command(
125125
# Should still update coordinator.data (for next start/resume)
126126
assert mock_coordinator.data["current_limit"] == 24
127127
mock_coordinator.async_set_current_limit.assert_called_once_with(24)
128-
129-

0 commit comments

Comments
 (0)