Skip to content

Commit c47205e

Browse files
committed
Fixed deprecation warning
* custom_components/daikin_onecta/config_flow.py:
1 parent 6e5665c commit c47205e

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

custom_components/daikin_onecta/config_flow.py

+1-2
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,6 @@ class OptionsFlowHandler(config_entries.OptionsFlow):
2323

2424
def __init__(self, config_entry):
2525
"""Initialize HACS options flow."""
26-
self.config_entry = config_entry
2726
self.options = dict(config_entry.options)
2827

2928
async def async_step_init(self, user_input: dict[str, str] | None = None) -> FlowResult:
@@ -69,7 +68,7 @@ async def async_step_init(self, user_input: dict[str, str] | None = None) -> Flo
6968

7069
async def _update_options(self):
7170
"""Update config entry options."""
72-
return self.async_create_entry(title=self.config_entry.data.get("Hub "), data=self.options)
71+
return self.async_create_entry(title="", data=self.options)
7372

7473

7574
class FlowHandler(

0 commit comments

Comments
 (0)