mirror of
https://github.com/home-assistant/core.git
synced 2025-07-23 21:27:38 +00:00
Add flags to EntityDescriptions in Tessie (#105847)
* Add SensorEntityDescription flags * fix datclass attributes
This commit is contained in:
parent
6845218a24
commit
1d63c34816
@ -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."""
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user