Rework Fritz config_flow and device_tracker (#48287)
Co-authored-by: J. Nick Koston <nick@koston.org>
This commit is contained in:
18
homeassistant/components/fritz/const.py
Normal file
18
homeassistant/components/fritz/const.py
Normal file
@@ -0,0 +1,18 @@
|
||||
"""Constants for the FRITZ!Box Tools integration."""
|
||||
|
||||
DOMAIN = "fritz"
|
||||
|
||||
PLATFORMS = ["device_tracker"]
|
||||
|
||||
|
||||
DEFAULT_DEVICE_NAME = "Unknown device"
|
||||
DEFAULT_HOST = "192.168.178.1"
|
||||
DEFAULT_PORT = 49000
|
||||
DEFAULT_USERNAME = ""
|
||||
|
||||
|
||||
ERROR_AUTH_INVALID = "invalid_auth"
|
||||
ERROR_CONNECTION_ERROR = "connection_error"
|
||||
ERROR_UNKNOWN = "unknown_error"
|
||||
|
||||
TRACKER_SCAN_INTERVAL = 30
|
||||
Reference in New Issue
Block a user