Launch Library: remove deprecated YAML import (#69008)

This commit is contained in:
Paulus Schoutsen
2022-03-31 11:23:52 -07:00
committed by GitHub
parent ce5d20eb8e
commit bb322a18bb
3 changed files with 2 additions and 59 deletions

View File

@@ -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]})