mirror of
https://github.com/home-assistant/core.git
synced 2025-07-16 09:47:13 +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
|
||||
|
||||
|
||||
@dataclass
|
||||
@dataclass(kw_only=True)
|
||||
class PhilipsTVBinarySensorEntityDescription(BinarySensorEntityDescription):
|
||||
"""A entity description for Philips TV binary sensor."""
|
||||
|
||||
def __init__(self, recording_value, *args, **kwargs) -> None:
|
||||
"""Set up a binary sensor entity description and add additional attributes."""
|
||||
super().__init__(*args, **kwargs)
|
||||
self.recording_value: str = recording_value
|
||||
recording_value: str
|
||||
|
||||
|
||||
DESCRIPTIONS = (
|
||||
|
Loading…
x
Reference in New Issue
Block a user