forked from home-assistant/core
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