Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions custom_components/hass_agent/config_flow.py
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@
class OptionsFlowHandler(config_entries.OptionsFlow):
def __init__(self, config_entry: config_entries.ConfigEntry) -> None:
"""Initialize options flow."""
self.config_entry = config_entry
self._config_entry = config_entry

async def async_step_init(
self, user_input: dict[str, Any] | None = None
Expand All @@ -41,7 +41,7 @@ async def async_step_init(
{
vol.Optional(
CONF_DEFAULT_NOTIFICATION_TITLE,
default=self.config_entry.options.get(
default=self._config_entry.options.get(
CONF_DEFAULT_NOTIFICATION_TITLE, ATTR_TITLE_DEFAULT
),
): str
Expand Down