瀏覽代碼

cleanup: reorder and split imports to satisfy ruff

Jason Rumney 2 月之前
父節點
當前提交
1c19e261e0
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      custom_components/tuya_local/__init__.py

+ 1 - 1
custom_components/tuya_local/__init__.py

@@ -14,9 +14,9 @@ from homeassistant.const import CONF_HOST
 from homeassistant.core import HomeAssistant, callback
 from homeassistant.exceptions import ConfigEntryNotReady
 from homeassistant.helpers.entity_registry import (
-    async_migrate_entries,
     async_get as async_get_entity_registry,
 )
+from homeassistant.helpers.entity_registry import async_migrate_entries
 from homeassistant.util import slugify
 
 from .const import (