Rename renault coordinator and base entity (#90760)
Refactor renault coordinator and base entitypull/90784/head
parent
f24634e198
commit
584066b809
|
@ -18,7 +18,7 @@ from homeassistant.helpers.entity_platform import AddEntitiesCallback
|
|||
from homeassistant.helpers.typing import StateType
|
||||
|
||||
from .const import DOMAIN
|
||||
from .renault_entities import RenaultDataEntity, RenaultDataEntityDescription
|
||||
from .entity import RenaultDataEntity, RenaultDataEntityDescription
|
||||
from .renault_hub import RenaultHub
|
||||
|
||||
|
||||
|
|
|
@ -11,7 +11,7 @@ from homeassistant.core import HomeAssistant
|
|||
from homeassistant.helpers.entity_platform import AddEntitiesCallback
|
||||
|
||||
from .const import DOMAIN
|
||||
from .renault_entities import RenaultEntity
|
||||
from .entity import RenaultEntity
|
||||
from .renault_hub import RenaultHub
|
||||
|
||||
|
||||
|
|
|
@ -9,7 +9,7 @@ from homeassistant.core import HomeAssistant
|
|||
from homeassistant.helpers.entity_platform import AddEntitiesCallback
|
||||
|
||||
from .const import DOMAIN
|
||||
from .renault_entities import RenaultDataEntity, RenaultDataEntityDescription
|
||||
from .entity import RenaultDataEntity, RenaultDataEntityDescription
|
||||
from .renault_hub import RenaultHub
|
||||
|
||||
|
||||
|
|
|
@ -8,7 +8,7 @@ from homeassistant.helpers.entity import Entity, EntityDescription
|
|||
from homeassistant.helpers.typing import StateType
|
||||
from homeassistant.helpers.update_coordinator import CoordinatorEntity
|
||||
|
||||
from .renault_coordinator import RenaultDataUpdateCoordinator, T
|
||||
from .coordinator import RenaultDataUpdateCoordinator, T
|
||||
from .renault_vehicle import RenaultVehicleProxy
|
||||
|
||||
|
|
@ -18,7 +18,7 @@ from homeassistant.exceptions import HomeAssistantError
|
|||
from homeassistant.helpers.entity import DeviceInfo
|
||||
|
||||
from .const import DOMAIN
|
||||
from .renault_coordinator import RenaultDataUpdateCoordinator
|
||||
from .coordinator import RenaultDataUpdateCoordinator
|
||||
|
||||
LOGGER = logging.getLogger(__name__)
|
||||
_T = TypeVar("_T")
|
||||
|
|
|
@ -14,7 +14,7 @@ from homeassistant.helpers.entity_platform import AddEntitiesCallback
|
|||
from homeassistant.helpers.typing import StateType
|
||||
|
||||
from .const import DOMAIN
|
||||
from .renault_entities import RenaultDataEntity, RenaultDataEntityDescription
|
||||
from .entity import RenaultDataEntity, RenaultDataEntityDescription
|
||||
from .renault_hub import RenaultHub
|
||||
|
||||
|
||||
|
|
|
@ -37,8 +37,8 @@ from homeassistant.helpers.typing import StateType
|
|||
from homeassistant.util.dt import as_utc, parse_datetime
|
||||
|
||||
from .const import DOMAIN
|
||||
from .renault_coordinator import T
|
||||
from .renault_entities import RenaultDataEntity, RenaultDataEntityDescription
|
||||
from .coordinator import T
|
||||
from .entity import RenaultDataEntity, RenaultDataEntityDescription
|
||||
from .renault_hub import RenaultHub
|
||||
from .renault_vehicle import RenaultVehicleProxy
|
||||
|
||||
|
|
Loading…
Reference in New Issue