mirror of
https://github.com/home-assistant/core.git
synced 2025-07-22 20:57:21 +00:00
Remove TwenteMilieu entity descriptions required fields mixins (#103990)
* Remove TwenteMilieu entity descriptions required fields mixins * Fix doc
This commit is contained in:
parent
a513511936
commit
f24212b66e
@ -21,20 +21,13 @@ from .const import DOMAIN
|
||||
from .entity import TwenteMilieuEntity
|
||||
|
||||
|
||||
@dataclass
|
||||
class TwenteMilieuSensorDescriptionMixin:
|
||||
"""Define an entity description mixin."""
|
||||
@dataclass(kw_only=True)
|
||||
class TwenteMilieuSensorDescription(SensorEntityDescription):
|
||||
"""Describe an Twente Milieu sensor."""
|
||||
|
||||
waste_type: WasteType
|
||||
|
||||
|
||||
@dataclass
|
||||
class TwenteMilieuSensorDescription(
|
||||
SensorEntityDescription, TwenteMilieuSensorDescriptionMixin
|
||||
):
|
||||
"""Describe an Ambient PWS binary sensor."""
|
||||
|
||||
|
||||
SENSORS: tuple[TwenteMilieuSensorDescription, ...] = (
|
||||
TwenteMilieuSensorDescription(
|
||||
key="tree",
|
||||
|
Loading…
x
Reference in New Issue
Block a user