Update coordinator typing (3) [g-n] (#68463)
This commit is contained in:
parent
354fc4c1ae
commit
0d29b7cbb3
14 changed files with 25 additions and 29 deletions
|
@ -179,13 +179,14 @@ async def async_setup_entry(
|
|||
)
|
||||
|
||||
|
||||
class LaunchLibrarySensor(CoordinatorEntity, SensorEntity):
|
||||
class LaunchLibrarySensor(
|
||||
CoordinatorEntity[DataUpdateCoordinator[LaunchLibraryData]], SensorEntity
|
||||
):
|
||||
"""Representation of the next launch sensors."""
|
||||
|
||||
_attr_attribution = "Data provided by Launch Library."
|
||||
_next_event: Launch | Event | None = None
|
||||
entity_description: LaunchLibrarySensorEntityDescription
|
||||
coordinator: DataUpdateCoordinator[LaunchLibraryData]
|
||||
|
||||
def __init__(
|
||||
self,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue