Home Assistant Unofficial Reference 2024.12.1
homeassistant.components.huawei_lte.const Namespace Reference

Variables

dictionary ADMIN_SERVICES
 
tuple ALL_KEYS
 
string ATTR_CONFIG_ENTRY_ID = "config_entry_id"
 
dictionary BINARY_SENSOR_KEYS
 
string BUTTON_KEY_CLEAR_TRAFFIC_STATISTICS = "clear_traffic_statistics"
 
string BUTTON_KEY_RESTART = "restart"
 
string CONF_MANUFACTURER = "manufacturer"
 
string CONF_TRACK_WIRED_CLIENTS = "track_wired_clients"
 
string CONF_UNAUTHENTICATED_MODE = "unauthenticated_mode"
 
int CONNECTION_TIMEOUT = 10
 
string DEFAULT_DEVICE_NAME = "LTE"
 
string DEFAULT_MANUFACTURER = "Huawei Technologies Co., Ltd."
 
string DEFAULT_NOTIFY_SERVICE_NAME = DOMAIN
 
bool DEFAULT_TRACK_WIRED_CLIENTS = True
 
bool DEFAULT_UNAUTHENTICATED_MODE = False
 
dictionary DEVICE_TRACKER_KEYS
 
string DOMAIN = "huawei_lte"
 
string KEY_DEVICE_BASIC_INFORMATION = "device_basic_information"
 
string KEY_DEVICE_INFORMATION = "device_information"
 
string KEY_DEVICE_SIGNAL = "device_signal"
 
string KEY_DIALUP_MOBILE_DATASWITCH = "dialup_mobile_dataswitch"
 
string KEY_LAN_HOST_INFO = "lan_host_info"
 
string KEY_MONITORING_CHECK_NOTIFICATIONS = "monitoring_check_notifications"
 
string KEY_MONITORING_MONTH_STATISTICS = "monitoring_month_statistics"
 
string KEY_MONITORING_STATUS = "monitoring_status"
 
string KEY_MONITORING_TRAFFIC_STATISTICS = "monitoring_traffic_statistics"
 
string KEY_NET_CURRENT_PLMN = "net_current_plmn"
 
string KEY_NET_NET_MODE = "net_net_mode"
 
string KEY_SMS_SMS_COUNT = "sms_sms_count"
 
string KEY_WLAN_HOST_LIST = "wlan_host_list"
 
string KEY_WLAN_WIFI_FEATURE_SWITCH = "wlan_wifi_feature_switch"
 
string KEY_WLAN_WIFI_GUEST_NETWORK_SWITCH = "wlan_wifi_guest_network_switch"
 
int NOTIFY_SUPPRESS_TIMEOUT = 30
 
dictionary SENSOR_KEYS
 
string SERVICE_RESUME_INTEGRATION = "resume_integration"
 
string SERVICE_SUSPEND_INTEGRATION = "suspend_integration"
 
dictionary SWITCH_KEYS = {KEY_DIALUP_MOBILE_DATASWITCH, KEY_WLAN_WIFI_GUEST_NETWORK_SWITCH}
 
string UPDATE_SIGNAL = f"{DOMAIN}_update"
 

Detailed Description

Huawei LTE constants.

Variable Documentation

◆ ADMIN_SERVICES

dictionary homeassistant.components.huawei_lte.const.ADMIN_SERVICES
Initial value:
1 = {
2  SERVICE_RESUME_INTEGRATION,
3  SERVICE_SUSPEND_INTEGRATION,
4 }

Definition at line 25 of file const.py.

◆ ALL_KEYS

tuple homeassistant.components.huawei_lte.const.ALL_KEYS
Initial value:
1 = (
2  BINARY_SENSOR_KEYS
3  | DEVICE_TRACKER_KEYS
4  | SENSOR_KEYS
5  | SWITCH_KEYS
6  | {KEY_DEVICE_BASIC_INFORMATION}
7 )

Definition at line 71 of file const.py.

◆ ATTR_CONFIG_ENTRY_ID

string homeassistant.components.huawei_lte.const.ATTR_CONFIG_ENTRY_ID = "config_entry_id"

Definition at line 5 of file const.py.

◆ BINARY_SENSOR_KEYS

dictionary homeassistant.components.huawei_lte.const.BINARY_SENSOR_KEYS
Initial value:
1 = {
2  KEY_MONITORING_CHECK_NOTIFICATIONS,
3  KEY_MONITORING_STATUS,
4  KEY_WLAN_WIFI_FEATURE_SWITCH,
5 }

Definition at line 46 of file const.py.

◆ BUTTON_KEY_CLEAR_TRAFFIC_STATISTICS

string homeassistant.components.huawei_lte.const.BUTTON_KEY_CLEAR_TRAFFIC_STATISTICS = "clear_traffic_statistics"

Definition at line 79 of file const.py.

◆ BUTTON_KEY_RESTART

string homeassistant.components.huawei_lte.const.BUTTON_KEY_RESTART = "restart"

Definition at line 80 of file const.py.

◆ CONF_MANUFACTURER

string homeassistant.components.huawei_lte.const.CONF_MANUFACTURER = "manufacturer"

Definition at line 7 of file const.py.

◆ CONF_TRACK_WIRED_CLIENTS

string homeassistant.components.huawei_lte.const.CONF_TRACK_WIRED_CLIENTS = "track_wired_clients"

Definition at line 8 of file const.py.

◆ CONF_UNAUTHENTICATED_MODE

string homeassistant.components.huawei_lte.const.CONF_UNAUTHENTICATED_MODE = "unauthenticated_mode"

Definition at line 9 of file const.py.

◆ CONNECTION_TIMEOUT

int homeassistant.components.huawei_lte.const.CONNECTION_TIMEOUT = 10

Definition at line 19 of file const.py.

◆ DEFAULT_DEVICE_NAME

string homeassistant.components.huawei_lte.const.DEFAULT_DEVICE_NAME = "LTE"

Definition at line 11 of file const.py.

◆ DEFAULT_MANUFACTURER

string homeassistant.components.huawei_lte.const.DEFAULT_MANUFACTURER = "Huawei Technologies Co., Ltd."

Definition at line 12 of file const.py.

◆ DEFAULT_NOTIFY_SERVICE_NAME

string homeassistant.components.huawei_lte.const.DEFAULT_NOTIFY_SERVICE_NAME = DOMAIN

Definition at line 13 of file const.py.

◆ DEFAULT_TRACK_WIRED_CLIENTS

bool homeassistant.components.huawei_lte.const.DEFAULT_TRACK_WIRED_CLIENTS = True

Definition at line 14 of file const.py.

◆ DEFAULT_UNAUTHENTICATED_MODE

bool homeassistant.components.huawei_lte.const.DEFAULT_UNAUTHENTICATED_MODE = False

Definition at line 15 of file const.py.

◆ DEVICE_TRACKER_KEYS

dictionary homeassistant.components.huawei_lte.const.DEVICE_TRACKER_KEYS
Initial value:
1 = {
2  KEY_LAN_HOST_INFO,
3  KEY_WLAN_HOST_LIST,
4 }

Definition at line 52 of file const.py.

◆ DOMAIN

string homeassistant.components.huawei_lte.const.DOMAIN = "huawei_lte"

Definition at line 3 of file const.py.

◆ KEY_DEVICE_BASIC_INFORMATION

string homeassistant.components.huawei_lte.const.KEY_DEVICE_BASIC_INFORMATION = "device_basic_information"

Definition at line 30 of file const.py.

◆ KEY_DEVICE_INFORMATION

string homeassistant.components.huawei_lte.const.KEY_DEVICE_INFORMATION = "device_information"

Definition at line 31 of file const.py.

◆ KEY_DEVICE_SIGNAL

string homeassistant.components.huawei_lte.const.KEY_DEVICE_SIGNAL = "device_signal"

Definition at line 32 of file const.py.

◆ KEY_DIALUP_MOBILE_DATASWITCH

string homeassistant.components.huawei_lte.const.KEY_DIALUP_MOBILE_DATASWITCH = "dialup_mobile_dataswitch"

Definition at line 33 of file const.py.

◆ KEY_LAN_HOST_INFO

string homeassistant.components.huawei_lte.const.KEY_LAN_HOST_INFO = "lan_host_info"

Definition at line 34 of file const.py.

◆ KEY_MONITORING_CHECK_NOTIFICATIONS

string homeassistant.components.huawei_lte.const.KEY_MONITORING_CHECK_NOTIFICATIONS = "monitoring_check_notifications"

Definition at line 35 of file const.py.

◆ KEY_MONITORING_MONTH_STATISTICS

string homeassistant.components.huawei_lte.const.KEY_MONITORING_MONTH_STATISTICS = "monitoring_month_statistics"

Definition at line 36 of file const.py.

◆ KEY_MONITORING_STATUS

string homeassistant.components.huawei_lte.const.KEY_MONITORING_STATUS = "monitoring_status"

Definition at line 37 of file const.py.

◆ KEY_MONITORING_TRAFFIC_STATISTICS

string homeassistant.components.huawei_lte.const.KEY_MONITORING_TRAFFIC_STATISTICS = "monitoring_traffic_statistics"

Definition at line 38 of file const.py.

◆ KEY_NET_CURRENT_PLMN

string homeassistant.components.huawei_lte.const.KEY_NET_CURRENT_PLMN = "net_current_plmn"

Definition at line 39 of file const.py.

◆ KEY_NET_NET_MODE

string homeassistant.components.huawei_lte.const.KEY_NET_NET_MODE = "net_net_mode"

Definition at line 40 of file const.py.

◆ KEY_SMS_SMS_COUNT

string homeassistant.components.huawei_lte.const.KEY_SMS_SMS_COUNT = "sms_sms_count"

Definition at line 41 of file const.py.

◆ KEY_WLAN_HOST_LIST

string homeassistant.components.huawei_lte.const.KEY_WLAN_HOST_LIST = "wlan_host_list"

Definition at line 42 of file const.py.

◆ KEY_WLAN_WIFI_FEATURE_SWITCH

string homeassistant.components.huawei_lte.const.KEY_WLAN_WIFI_FEATURE_SWITCH = "wlan_wifi_feature_switch"

Definition at line 43 of file const.py.

◆ KEY_WLAN_WIFI_GUEST_NETWORK_SWITCH

string homeassistant.components.huawei_lte.const.KEY_WLAN_WIFI_GUEST_NETWORK_SWITCH = "wlan_wifi_guest_network_switch"

Definition at line 44 of file const.py.

◆ NOTIFY_SUPPRESS_TIMEOUT

int homeassistant.components.huawei_lte.const.NOTIFY_SUPPRESS_TIMEOUT = 30

Definition at line 20 of file const.py.

◆ SENSOR_KEYS

dictionary homeassistant.components.huawei_lte.const.SENSOR_KEYS
Initial value:
1 = {
2  KEY_DEVICE_INFORMATION,
3  KEY_DEVICE_SIGNAL,
4  KEY_MONITORING_CHECK_NOTIFICATIONS,
5  KEY_MONITORING_MONTH_STATISTICS,
6  KEY_MONITORING_STATUS,
7  KEY_MONITORING_TRAFFIC_STATISTICS,
8  KEY_NET_CURRENT_PLMN,
9  KEY_NET_NET_MODE,
10  KEY_SMS_SMS_COUNT,
11 }

Definition at line 57 of file const.py.

◆ SERVICE_RESUME_INTEGRATION

string homeassistant.components.huawei_lte.const.SERVICE_RESUME_INTEGRATION = "resume_integration"

Definition at line 22 of file const.py.

◆ SERVICE_SUSPEND_INTEGRATION

string homeassistant.components.huawei_lte.const.SERVICE_SUSPEND_INTEGRATION = "suspend_integration"

Definition at line 23 of file const.py.

◆ SWITCH_KEYS

dictionary homeassistant.components.huawei_lte.const.SWITCH_KEYS = {KEY_DIALUP_MOBILE_DATASWITCH, KEY_WLAN_WIFI_GUEST_NETWORK_SWITCH}

Definition at line 69 of file const.py.

◆ UPDATE_SIGNAL

string homeassistant.components.huawei_lte.const.UPDATE_SIGNAL = f"{DOMAIN}_update"

Definition at line 17 of file const.py.