소스 검색

cleanup: reorder and split imports to satisfy ruff

Jason Rumney 6 달 전
부모
커밋
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 (