Files
core/homeassistant/components/togrill/entity.py
Joakim Plate c876bed33f Add ToGrill integration (#150075)
Co-authored-by: Joost Lekkerkerker <joostlek@outlook.com>
2025-08-09 00:24:54 +02:00

19 lines
541 B
Python

"""Provides the base entities."""
from __future__ import annotations
from homeassistant.helpers.update_coordinator import CoordinatorEntity
from .coordinator import ToGrillCoordinator
class ToGrillEntity(CoordinatorEntity[ToGrillCoordinator]):
"""Coordinator entity for Gardena Bluetooth."""
_attr_has_entity_name = True
def __init__(self, coordinator: ToGrillCoordinator) -> None:
"""Initialize coordinator entity."""
super().__init__(coordinator)
self._attr_device_info = coordinator.device_info