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:
Marc Mueller 2021-09-03 17:48:48 +02:00 committed by GitHub
parent 7461af68b9
commit a234f2ab31
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 0 additions and 23 deletions

View file

@ -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."""