Skip to content

Commit aa0c953

Browse files
Address #576 - Fix HA config-flow setter deprecation
1 parent 12b5cab commit aa0c953

File tree

3 files changed

+4
-7
lines changed

3 files changed

+4
-7
lines changed

CHANGELOG.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
1-
# 1.3.11 (2026-01-22)
1+
# 1.3.12 (2026-01-22)
22
- Address #584 (fix HTTP API server breaking changes)
3+
- Address #576 (fix configflow explicit setter usage deprecation)
34

45
# 1.3.1beta2 (2025-09-25)
56
- Address #567 (fix SSL blocking call and ATTR_COLOR_TEMP_KELVIN deprecation)

custom_components/meross_cloud/config_flow.py

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -373,7 +373,7 @@ async def async_step_configure_manager(self, user_input=None) -> Dict[str, Any]:
373373
@staticmethod
374374
@callback
375375
def async_get_options_flow(config_entry: ConfigEntry) -> OptionsFlow:
376-
return MerossOptionsFlowHandler(config_entry=config_entry)
376+
return MerossOptionsFlowHandler()
377377

378378
@staticmethod
379379
async def _test_authorization(
@@ -399,10 +399,6 @@ async def async_step_import(self, import_config):
399399
class MerossOptionsFlowHandler(config_entries.OptionsFlow):
400400
"""Handle an options flow for Meross Component."""
401401

402-
def __init__(self, config_entry: config_entries.ConfigEntry) -> None:
403-
"""Initialize Meross options flow."""
404-
self.config_entry = config_entry
405-
406402
async def async_step_init(self, user_input=None):
407403
"""Handle the initial step."""
408404
if user_input is not None:

custom_components/meross_cloud/manifest.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,5 +9,5 @@
99
"config_flow": true,
1010
"quality_scale": "platinum",
1111
"iot_class": "cloud_push",
12-
"version": "1.3.11"
12+
"version": "1.3.12"
1313
}

0 commit comments

Comments
 (0)