Move Hub and Entity to separate module in ADS (#125665)

* Move Hub and Entity to separate module in ADS

* Missed one
This commit is contained in:
epenet
2024-09-10 15:02:09 +02:00
committed by GitHub
parent 7f7db4efb6
commit 745a05d984
8 changed files with 225 additions and 213 deletions

View File

@@ -17,7 +17,8 @@ import homeassistant.helpers.config_validation as cv
from homeassistant.helpers.entity_platform import AddEntitiesCallback
from homeassistant.helpers.typing import ConfigType, DiscoveryInfoType
from . import CONF_ADS_VAR, DATA_ADS, STATE_KEY_STATE, AdsEntity
from . import CONF_ADS_VAR, DATA_ADS, STATE_KEY_STATE
from .entity import AdsEntity
DEFAULT_NAME = "ADS binary sensor"
PLATFORM_SCHEMA = BINARY_SENSOR_PLATFORM_SCHEMA.extend(