Fritz new binary sensor for link and firmware status + code cleanup (#55446)

This commit is contained in:
Simone Chemelli
2021-09-30 11:18:04 +02:00
committed by GitHub
parent a6a3745413
commit 8993ff0377
5 changed files with 198 additions and 149 deletions

View File

@@ -1,12 +1,14 @@
"""Constants for the FRITZ!Box Tools integration."""
from typing import Literal
DOMAIN = "fritz"
PLATFORMS = ["binary_sensor", "device_tracker", "sensor", "switch"]
DATA_FRITZ = "fritz_data"
DSL_CONNECTION = "dsl"
DSL_CONNECTION: Literal["dsl"] = "dsl"
DEFAULT_DEVICE_NAME = "Unknown device"
DEFAULT_HOST = "192.168.178.1"