2019-08-26 08:32:50 +00:00
|
|
|
"""Huawei LTE constants."""
|
|
|
|
|
|
|
|
DOMAIN = "huawei_lte"
|
|
|
|
|
2019-10-24 16:31:49 +00:00
|
|
|
DEFAULT_DEVICE_NAME = "LTE"
|
|
|
|
|
|
|
|
UPDATE_SIGNAL = f"{DOMAIN}_update"
|
|
|
|
UPDATE_OPTIONS_SIGNAL = f"{DOMAIN}_options_update"
|
|
|
|
|
2019-10-24 23:42:54 +00:00
|
|
|
UNIT_BYTES = "B"
|
|
|
|
UNIT_SECONDS = "s"
|
|
|
|
|
2019-10-24 16:31:49 +00:00
|
|
|
KEY_DEVICE_BASIC_INFORMATION = "device_basic_information"
|
2019-08-26 08:32:50 +00:00
|
|
|
KEY_DEVICE_INFORMATION = "device_information"
|
|
|
|
KEY_DEVICE_SIGNAL = "device_signal"
|
2019-10-26 10:29:36 +00:00
|
|
|
KEY_DIALUP_MOBILE_DATASWITCH = "dialup_mobile_dataswitch"
|
2019-08-26 08:32:50 +00:00
|
|
|
KEY_MONITORING_TRAFFIC_STATISTICS = "monitoring_traffic_statistics"
|
|
|
|
KEY_WLAN_HOST_LIST = "wlan_host_list"
|
2019-10-24 16:31:49 +00:00
|
|
|
|
|
|
|
DEVICE_TRACKER_KEYS = {KEY_WLAN_HOST_LIST}
|
|
|
|
|
|
|
|
SENSOR_KEYS = {
|
|
|
|
KEY_DEVICE_INFORMATION,
|
|
|
|
KEY_DEVICE_SIGNAL,
|
|
|
|
KEY_MONITORING_TRAFFIC_STATISTICS,
|
|
|
|
}
|
|
|
|
|
2019-10-26 10:29:36 +00:00
|
|
|
SWITCH_KEYS = {KEY_DIALUP_MOBILE_DATASWITCH}
|
|
|
|
|
|
|
|
ALL_KEYS = DEVICE_TRACKER_KEYS | SENSOR_KEYS | SWITCH_KEYS
|