1 """Base Entity for the jvc_projector integration."""
3 from __future__
import annotations
7 from jvcprojector
import JvcProjector
12 from .const
import DOMAIN, MANUFACTURER, NAME
13 from .coordinator
import JvcProjectorDataUpdateCoordinator
15 _LOGGER = logging.getLogger(__name__)
19 """Defines a base JVC Projector entity."""
21 _attr_has_entity_name =
True
23 def __init__(self, coordinator: JvcProjectorDataUpdateCoordinator) ->
None:
24 """Initialize the entity."""
29 identifiers={(DOMAIN, coordinator.unique_id)},
32 manufacturer=MANUFACTURER,
37 """Return the device representing the projector."""
38 return self.coordinator.device
None __init__(self, JvcProjectorDataUpdateCoordinator coordinator)
JvcProjector device(self)