Move tcp base entity to separate module (#126181)
This commit is contained in:
parent
06e7e377d4
commit
16ac303994
6 changed files with 139 additions and 119 deletions
|
@ -12,8 +12,9 @@ from homeassistant.core import HomeAssistant
|
|||
from homeassistant.helpers.entity_platform import AddEntitiesCallback
|
||||
from homeassistant.helpers.typing import ConfigType, DiscoveryInfoType
|
||||
|
||||
from .common import TCP_PLATFORM_SCHEMA, TcpEntity
|
||||
from .common import TCP_PLATFORM_SCHEMA
|
||||
from .const import CONF_VALUE_ON
|
||||
from .entity import TcpEntity
|
||||
|
||||
PLATFORM_SCHEMA: Final = BINARY_SENSOR_PLATFORM_SCHEMA.extend(TCP_PLATFORM_SCHEMA)
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue