Add flags to EntityDescriptions in Tessie (#105847)
* Add SensorEntityDescription flags * fix datclass attributes
This commit is contained in:
parent
6845218a24
commit
1d63c34816
2 changed files with 2 additions and 2 deletions
|
@ -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…
Add table
Reference in a new issue