mirror of
https://github.com/home-assistant/core.git
synced 2025-07-09 14:27:07 +00:00
Fix unneeded inheritance in LaMetric base entity (#77260)
This commit is contained in:
parent
635eda584d
commit
a4d7130d7a
@ -2,14 +2,14 @@
|
||||
from __future__ import annotations
|
||||
|
||||
from homeassistant.helpers.device_registry import CONNECTION_NETWORK_MAC, format_mac
|
||||
from homeassistant.helpers.entity import DeviceInfo, Entity
|
||||
from homeassistant.helpers.entity import DeviceInfo
|
||||
from homeassistant.helpers.update_coordinator import CoordinatorEntity
|
||||
|
||||
from .const import DOMAIN
|
||||
from .coordinator import LaMetricDataUpdateCoordinator
|
||||
|
||||
|
||||
class LaMetricEntity(CoordinatorEntity[LaMetricDataUpdateCoordinator], Entity):
|
||||
class LaMetricEntity(CoordinatorEntity[LaMetricDataUpdateCoordinator]):
|
||||
"""Defines a LaMetric entity."""
|
||||
|
||||
_attr_has_entity_name = True
|
||||
|
Loading…
x
Reference in New Issue
Block a user