From 1d2df8b0e7c39be4510403dc0fdd4677979e078a Mon Sep 17 00:00:00 2001 From: rrooggiieerr Date: Fri, 5 Jul 2024 20:45:15 +0200 Subject: [PATCH] Fix indentation (#2239) --- docs/config_entries_config_flow_handler.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/docs/config_entries_config_flow_handler.md b/docs/config_entries_config_flow_handler.md index b4364f7a..9f4fb2bb 100644 --- a/docs/config_entries_config_flow_handler.md +++ b/docs/config_entries_config_flow_handler.md @@ -100,7 +100,7 @@ that still allows for discovery, as long as there aren't any instances of the in ```python if device_unique_id: - await self.async_set_unique_id(device_unique_id) + await self.async_set_unique_id(device_unique_id) await self._async_handle_discovery_without_unique_id() ``` @@ -232,8 +232,8 @@ async def async_migrate_entry(hass, config_entry: ConfigEntry): _LOGGER.debug("Migrating configuration from version %s.%s", config_entry.version, config_entry.minor_version) if config_entry.version > 1: - # This means the user has downgraded from a future version - return False + # This means the user has downgraded from a future version + return False if config_entry.version == 1: