Add shared code to a common module
This commit is contained in:
@@ -43,9 +43,6 @@ import homeassistant.helpers.config_validation as cv
|
||||
|
||||
from . import (
|
||||
BASE_PLATFORM_SCHEMA,
|
||||
TuyaDevice,
|
||||
LocalTuyaEntity,
|
||||
prepare_setup_entities,
|
||||
import_from_yaml,
|
||||
)
|
||||
from .const import (
|
||||
@@ -56,6 +53,7 @@ from .const import (
|
||||
CONF_CURRENT_CONSUMPTION,
|
||||
CONF_VOLTAGE,
|
||||
)
|
||||
from .common import LocalTuyaEntity, TuyaDevice, prepare_setup_entities
|
||||
|
||||
_LOGGER = logging.getLogger(__name__)
|
||||
|
||||
|
Reference in New Issue
Block a user