Skip to content

Commit a2e135c

Browse files
authored
Merge pull request #394 from sfstar/feature-ensure-config-flow-remains-working-on-2025-12-release
fix 2025.12 deprecation of config flow entries
2 parents 1b36a40 + 48f1aa0 commit a2e135c

File tree

2 files changed

+1
-2
lines changed

2 files changed

+1
-2
lines changed

custom_components/victron/config_flow.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -299,7 +299,6 @@ class VictronOptionFlowHandler(config_entries.OptionsFlow):
299299

300300
def __init__(self, config_entry: ConfigEntry) -> None:
301301
"""Initialize options flow."""
302-
self.config_entry = config_entry
303302
self.area = None
304303

305304
async def async_step_advanced(self, user_input=None):

custom_components/victron/number.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -125,7 +125,7 @@ def determine_min_value(
125125
)
126126
if powerType == "AC"
127127
else (
128-
int(config_entry[CONF_DC_SYSTEM_VOLTAGE].dc_voltage)
128+
int(config_entry[CONF_DC_SYSTEM_VOLTAGE])
129129
* config_entry[CONF_DC_CURRENT_LIMIT]
130130
)
131131
)

0 commit comments

Comments
 (0)