Move data on import in rfxtrx integration into ConfigEntry (#38022)
* Move all data imported from yaml to ConfigEntry * Revert changes that prevent updating yaml entry * Cleanup code around time conversion
This commit is contained in:
parent
60009ec2f9
commit
d9dba9142c
8 changed files with 23 additions and 32 deletions
|
@ -16,7 +16,6 @@ class ConfigFlow(config_entries.ConfigFlow, domain=DOMAIN):
|
|||
|
||||
async def async_step_import(self, import_config=None):
|
||||
"""Handle the initial step."""
|
||||
|
||||
await self.async_set_unique_id(DOMAIN)
|
||||
self._abort_if_unique_id_configured(import_config)
|
||||
return self.async_create_entry(title="RFXTRX", data=import_config)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue