Skip to content

Commit 8eacb0b

Browse files
Potential fix for pull request finding
Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>
1 parent 2d5559f commit 8eacb0b

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

apps/predbat/tests/test_inverter_config_sensor.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,10 +12,10 @@
1212
from tests.test_infra import reset_inverter, TestInverter
1313

1414

15-
def make_stub_inverter(id, inverter_limit_watts):
15+
def make_stub_inverter(inverter_id, inverter_limit_watts):
1616
"""Build an inverter stub carrying just the values fetch_inverter_data() aggregates"""
1717
inverter = TestInverter()
18-
inverter.id = id
18+
inverter.id = inverter_id
1919
inverter.update_status = lambda minutes_now, quiet=False: None
2020
inverter.charge_window = []
2121
inverter.export_window = []

0 commit comments

Comments
 (0)