Remove snapcast YAML configuration (#93547)

Remove platform yaml snapcast
This commit is contained in:
G Johansson 2023-06-05 18:28:08 +02:00 committed by GitHub
parent d9ac041e17
commit 40cb9337c5
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
4 changed files with 2 additions and 70 deletions

View file

@ -51,13 +51,3 @@ class SnapcastConfigFlow(ConfigFlow, domain=DOMAIN):
return self.async_show_form(
step_id="user", data_schema=SNAPCAST_SCHEMA, errors=errors
)
async def async_step_import(self, import_config: dict[str, str]) -> FlowResult:
"""Import a config entry from configuration.yaml."""
self._async_abort_entries_match(
{
CONF_HOST: (import_config[CONF_HOST]),
CONF_PORT: (import_config[CONF_PORT]),
}
)
return self.async_create_entry(title=DEFAULT_TITLE, data=import_config)