Add shared code to a common module

This commit is contained in:
Pierre Ståhl
2020-09-23 19:58:24 +02:00
parent 98612a0d70
commit fefee6944f
7 changed files with 201 additions and 197 deletions

View File

@@ -31,11 +31,9 @@ from homeassistant.const import CONF_ID, CONF_FRIENDLY_NAME
from . import (
BASE_PLATFORM_SCHEMA,
TuyaDevice,
LocalTuyaEntity,
prepare_setup_entities,
import_from_yaml,
)
from .common import LocalTuyaEntity, TuyaDevice, prepare_setup_entities
_LOGGER = logging.getLogger(__name__)