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

Classes

class  BaseButton
 
class  ClearTrafficStatisticsButton
 
class  RestartButton
 

Functions

None async_setup_entry (HomeAssistant hass, ConfigEntry config_entry, entity_platform.AddEntitiesCallback async_add_entities)
 

Variables

 _LOGGER = logging.getLogger(__name__)
 
string BUTTON_KEY_CLEAR_TRAFFIC_STATISTICS = "clear_traffic_statistics"
 
string BUTTON_KEY_RESTART = "restart"
 

Detailed Description

Huawei LTE buttons.

Function Documentation

◆ async_setup_entry()

None homeassistant.components.huawei_lte.button.async_setup_entry ( HomeAssistant  hass,
ConfigEntry  config_entry,
entity_platform.AddEntitiesCallback  async_add_entities 
)
Set up Huawei LTE buttons.

Definition at line 25 of file button.py.

Variable Documentation

◆ _LOGGER

homeassistant.components.huawei_lte.button._LOGGER = logging.getLogger(__name__)
private

Definition at line 22 of file button.py.

◆ BUTTON_KEY_CLEAR_TRAFFIC_STATISTICS

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

Definition at line 65 of file button.py.

◆ BUTTON_KEY_RESTART

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

Definition at line 82 of file button.py.