Remove dead fritzbox code (#55617)
* EntityInfo has been replaced by EntityDescription (#55104) * Extra switch attributes have been replaced by dedicated sensors (#52562)
This commit is contained in:
parent
7461af68b9
commit
a234f2ab31
2 changed files with 0 additions and 23 deletions
|
@ -7,16 +7,6 @@ from typing import Callable, TypedDict
|
|||
from pyfritzhome import FritzhomeDevice
|
||||
|
||||
|
||||
class EntityInfo(TypedDict):
|
||||
"""TypedDict for EntityInfo."""
|
||||
|
||||
name: str
|
||||
entity_id: str
|
||||
unit_of_measurement: str | None
|
||||
device_class: str | None
|
||||
state_class: str | None
|
||||
|
||||
|
||||
class FritzExtraAttributes(TypedDict):
|
||||
"""TypedDict for sensors extra attributes."""
|
||||
|
||||
|
@ -34,17 +24,6 @@ class ClimateExtraAttributes(FritzExtraAttributes, total=False):
|
|||
window_open: bool
|
||||
|
||||
|
||||
class SwitchExtraAttributes(TypedDict, total=False):
|
||||
"""TypedDict for sensors extra attributes."""
|
||||
|
||||
device_locked: bool
|
||||
locked: bool
|
||||
total_consumption: str
|
||||
total_consumption_unit: str
|
||||
temperature: str
|
||||
temperature_unit: str
|
||||
|
||||
|
||||
@dataclass
|
||||
class FritzEntityDescriptionMixinBase:
|
||||
"""Bases description mixin for Fritz!Smarthome entities."""
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue