Fix indentation (#2239)

This commit is contained in:
rrooggiieerr 2024-07-05 20:45:15 +02:00 committed by GitHub
parent 53ac59f86c
commit 1d2df8b0e7
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -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: