We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 7cd3d1e commit 41e591bCopy full SHA for 41e591b
2 files changed
custom_components/bmw_wallbox/coordinator.py
@@ -726,7 +726,8 @@ async def async_start_charging(
726
await asyncio.sleep(2)
727
728
max_current = self.data.get(
729
- "current_limit", self.config.get(CONF_MAX_CURRENT, DEFAULT_MAX_CURRENT)
+ "current_limit",
730
+ self.config.get(CONF_MAX_CURRENT, DEFAULT_MAX_CURRENT),
731
)
732
_LOGGER.info(
733
"⚡ Sending SetChargingProfile(%dA) to enable current...",
tests/test_number.py
@@ -125,5 +125,3 @@ async def test_current_limit_handles_failed_command(
125
# Should still update coordinator.data (for next start/resume)
126
assert mock_coordinator.data["current_limit"] == 24
127
mock_coordinator.async_set_current_limit.assert_called_once_with(24)
128
-
129
0 commit comments