mirror of
https://github.com/home-assistant/core.git
synced 2025-08-11 00:25:12 +02:00
Add flags to EntityDescriptions in Tessie (#105847)
* Add SensorEntityDescription flags * fix datclass attributes
This commit is contained in:
@@ -19,7 +19,7 @@ from .coordinator import TessieDataUpdateCoordinator
|
||||
from .entity import TessieEntity
|
||||
|
||||
|
||||
@dataclass(frozen=True)
|
||||
@dataclass(frozen=True, kw_only=True)
|
||||
class TessieBinarySensorEntityDescription(BinarySensorEntityDescription):
|
||||
"""Describes Tessie binary sensor entity."""
|
||||
|
||||
|
@@ -32,7 +32,7 @@ from .coordinator import TessieDataUpdateCoordinator
|
||||
from .entity import TessieEntity
|
||||
|
||||
|
||||
@dataclass(frozen=True)
|
||||
@dataclass(frozen=True, kw_only=True)
|
||||
class TessieSensorEntityDescription(SensorEntityDescription):
|
||||
"""Describes Tessie Sensor entity."""
|
||||
|
||||
|
Reference in New Issue
Block a user