[code-quality] Organise base entities imports (#7208)

This commit is contained in:
tomaszduda23
2024-08-07 05:49:51 +02:00
committed by GitHub
parent 9b0c2234d8
commit c348efa401
17 changed files with 119 additions and 123 deletions
+3 -5
View File
@@ -1,20 +1,18 @@
from esphome import automation
import esphome.config_validation as cv
import esphome.codegen as cg
from esphome.automation import maybe_simple_id
import esphome.codegen as cg
import esphome.config_validation as cv
from esphome.const import (
CONF_ID,
CONF_ON_IDLE,
CONF_ON_STATE,
CONF_TRIGGER_ID,
CONF_VOLUME,
CONF_ON_IDLE,
)
from esphome.core import CORE
from esphome.coroutine import coroutine_with_priority
from esphome.cpp_helpers import setup_entity
CODEOWNERS = ["@jesserockz"]
IS_PLATFORM_COMPONENT = True