mirror of
https://github.com/home-assistant/core.git
synced 2025-07-27 15:17:35 +00:00
Rename renault coordinator and base entity (#90760)
Refactor renault coordinator and base entity
This commit is contained in:
parent
f24634e198
commit
584066b809
@ -18,7 +18,7 @@ from homeassistant.helpers.entity_platform import AddEntitiesCallback
|
|||||||
from homeassistant.helpers.typing import StateType
|
from homeassistant.helpers.typing import StateType
|
||||||
|
|
||||||
from .const import DOMAIN
|
from .const import DOMAIN
|
||||||
from .renault_entities import RenaultDataEntity, RenaultDataEntityDescription
|
from .entity import RenaultDataEntity, RenaultDataEntityDescription
|
||||||
from .renault_hub import RenaultHub
|
from .renault_hub import RenaultHub
|
||||||
|
|
||||||
|
|
||||||
|
@ -11,7 +11,7 @@ from homeassistant.core import HomeAssistant
|
|||||||
from homeassistant.helpers.entity_platform import AddEntitiesCallback
|
from homeassistant.helpers.entity_platform import AddEntitiesCallback
|
||||||
|
|
||||||
from .const import DOMAIN
|
from .const import DOMAIN
|
||||||
from .renault_entities import RenaultEntity
|
from .entity import RenaultEntity
|
||||||
from .renault_hub import RenaultHub
|
from .renault_hub import RenaultHub
|
||||||
|
|
||||||
|
|
||||||
|
@ -9,7 +9,7 @@ from homeassistant.core import HomeAssistant
|
|||||||
from homeassistant.helpers.entity_platform import AddEntitiesCallback
|
from homeassistant.helpers.entity_platform import AddEntitiesCallback
|
||||||
|
|
||||||
from .const import DOMAIN
|
from .const import DOMAIN
|
||||||
from .renault_entities import RenaultDataEntity, RenaultDataEntityDescription
|
from .entity import RenaultDataEntity, RenaultDataEntityDescription
|
||||||
from .renault_hub import RenaultHub
|
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.typing import StateType
|
||||||
from homeassistant.helpers.update_coordinator import CoordinatorEntity
|
from homeassistant.helpers.update_coordinator import CoordinatorEntity
|
||||||
|
|
||||||
from .renault_coordinator import RenaultDataUpdateCoordinator, T
|
from .coordinator import RenaultDataUpdateCoordinator, T
|
||||||
from .renault_vehicle import RenaultVehicleProxy
|
from .renault_vehicle import RenaultVehicleProxy
|
||||||
|
|
||||||
|
|
@ -18,7 +18,7 @@ from homeassistant.exceptions import HomeAssistantError
|
|||||||
from homeassistant.helpers.entity import DeviceInfo
|
from homeassistant.helpers.entity import DeviceInfo
|
||||||
|
|
||||||
from .const import DOMAIN
|
from .const import DOMAIN
|
||||||
from .renault_coordinator import RenaultDataUpdateCoordinator
|
from .coordinator import RenaultDataUpdateCoordinator
|
||||||
|
|
||||||
LOGGER = logging.getLogger(__name__)
|
LOGGER = logging.getLogger(__name__)
|
||||||
_T = TypeVar("_T")
|
_T = TypeVar("_T")
|
||||||
|
@ -14,7 +14,7 @@ from homeassistant.helpers.entity_platform import AddEntitiesCallback
|
|||||||
from homeassistant.helpers.typing import StateType
|
from homeassistant.helpers.typing import StateType
|
||||||
|
|
||||||
from .const import DOMAIN
|
from .const import DOMAIN
|
||||||
from .renault_entities import RenaultDataEntity, RenaultDataEntityDescription
|
from .entity import RenaultDataEntity, RenaultDataEntityDescription
|
||||||
from .renault_hub import RenaultHub
|
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 homeassistant.util.dt import as_utc, parse_datetime
|
||||||
|
|
||||||
from .const import DOMAIN
|
from .const import DOMAIN
|
||||||
from .renault_coordinator import T
|
from .coordinator import T
|
||||||
from .renault_entities import RenaultDataEntity, RenaultDataEntityDescription
|
from .entity import RenaultDataEntity, RenaultDataEntityDescription
|
||||||
from .renault_hub import RenaultHub
|
from .renault_hub import RenaultHub
|
||||||
from .renault_vehicle import RenaultVehicleProxy
|
from .renault_vehicle import RenaultVehicleProxy
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user