mirror of
https://github.com/home-assistant/core.git
synced 2025-07-18 18:57:06 +00:00
Fix entity descriptions in philips_js (#105625)
This commit is contained in:
parent
22c3847c0e
commit
a91dfc7954
@ -18,14 +18,11 @@ from .const import DOMAIN
|
|||||||
from .entity import PhilipsJsEntity
|
from .entity import PhilipsJsEntity
|
||||||
|
|
||||||
|
|
||||||
@dataclass
|
@dataclass(kw_only=True)
|
||||||
class PhilipsTVBinarySensorEntityDescription(BinarySensorEntityDescription):
|
class PhilipsTVBinarySensorEntityDescription(BinarySensorEntityDescription):
|
||||||
"""A entity description for Philips TV binary sensor."""
|
"""A entity description for Philips TV binary sensor."""
|
||||||
|
|
||||||
def __init__(self, recording_value, *args, **kwargs) -> None:
|
recording_value: str
|
||||||
"""Set up a binary sensor entity description and add additional attributes."""
|
|
||||||
super().__init__(*args, **kwargs)
|
|
||||||
self.recording_value: str = recording_value
|
|
||||||
|
|
||||||
|
|
||||||
DESCRIPTIONS = (
|
DESCRIPTIONS = (
|
||||||
|
Loading…
x
Reference in New Issue
Block a user