mirror of
https://github.com/home-assistant/core.git
synced 2025-11-25 10:37:59 +00:00
Launch Library: remove deprecated YAML import (#69008)
This commit is contained in:
@@ -4,7 +4,6 @@ from __future__ import annotations
|
||||
from typing import Any
|
||||
|
||||
from homeassistant import config_entries
|
||||
from homeassistant.const import CONF_NAME
|
||||
from homeassistant.data_entry_flow import FlowResult
|
||||
|
||||
from .const import DOMAIN
|
||||
@@ -27,7 +26,3 @@ class LaunchLibraryFlowHandler(config_entries.ConfigFlow, domain=DOMAIN):
|
||||
return self.async_create_entry(title="Launch Library", data=user_input)
|
||||
|
||||
return self.async_show_form(step_id="user")
|
||||
|
||||
async def async_step_import(self, conf: dict[str, Any]) -> FlowResult:
|
||||
"""Import a configuration from config.yaml."""
|
||||
return await self.async_step_user(user_input={CONF_NAME: conf[CONF_NAME]})
|
||||
|
||||
Reference in New Issue
Block a user