From cca1521c733ead28f4cb2ba14b118bf589c6fa8a Mon Sep 17 00:00:00 2001 From: Joe Hansche Date: Fri, 29 Sep 2023 12:27:31 -0400 Subject: [PATCH] fixup --- custom_components/teslafi/__init__.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/custom_components/teslafi/__init__.py b/custom_components/teslafi/__init__.py index 778b2b3..df8f55d 100644 --- a/custom_components/teslafi/__init__.py +++ b/custom_components/teslafi/__init__.py @@ -89,7 +89,7 @@ async def async_migrate_entry( ) -> bool: """Migrate old entry""" current = config_entry.version - LOGGER.debug("Migrating from version %s", version) + LOGGER.debug("Migrating from version %s", current) if current == 1: # Clean up old device entries. These will be recreated by HA