Skip to content

Commit 159b2b6

Browse files
committed
sets option flow config_entry explicitly, which is deprecated
1 parent a80ead4 commit 159b2b6

2 files changed

Lines changed: 3 additions & 3 deletions

File tree

custom_components/marstek_modbus/config_flow.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -123,7 +123,7 @@ class MarstekOptionsFlow(config_entries.OptionsFlow):
123123

124124
def __init__(self, config_entry):
125125
"""Initialize options flow."""
126-
self.config_entry = config_entry
126+
self._config_entry = config_entry
127127

128128
async def async_step_init(self, user_input=None):
129129
"""Manage the options."""
@@ -138,7 +138,7 @@ async def async_step_init(self, user_input=None):
138138
integrations=DOMAIN
139139
)
140140

141-
config = self.config_entry
141+
config = self._config_entry
142142

143143
# Defaults: use options, then data, then DEFAULT_SCAN_INTERVALS
144144
defaults = {

custom_components/marstek_modbus/manifest.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"domain": "marstek_modbus",
33
"name": "Marstek Venus Modbus",
4-
"version": "2025.9.5.b1",
4+
"version": "2025.10.1",
55
"config_flow": true,
66
"documentation": "https://github.com/viperrnmc/marstek_venus_modbus",
77
"requirements": ["pymodbus>=3.9.2"],

0 commit comments

Comments
 (0)