Home Assistant Unofficial Reference 2024.12.1
homeassistant.components.system_bridge Namespace Reference

Namespaces

 binary_sensor
 
 config_flow
 
 const
 
 coordinator
 
 data
 
 entity
 
 media_player
 
 media_source
 
 notify
 
 sensor
 
 update
 

Functions

bool async_migrate_entry (HomeAssistant hass, ConfigEntry config_entry)
 
None async_reload_entry (HomeAssistant hass, ConfigEntry entry)
 
bool async_setup_entry (HomeAssistant hass, ConfigEntry entry)
 
bool async_unload_entry (HomeAssistant hass, ConfigEntry entry)
 

Variables

 _LOGGER = logging.getLogger(__name__)
 
string CONF_BRIDGE = "bridge"
 
string CONF_KEY = "key"
 
string CONF_TEXT = "text"
 
list PLATFORMS
 
dictionary POWER_COMMAND_MAP
 
string SERVICE_GET_PROCESS_BY_ID = "get_process_by_id"
 
string SERVICE_GET_PROCESSES_BY_NAME = "get_processes_by_name"
 
string SERVICE_OPEN_PATH = "open_path"
 
string SERVICE_OPEN_URL = "open_url"
 
string SERVICE_POWER_COMMAND = "power_command"
 
string SERVICE_SEND_KEYPRESS = "send_keypress"
 
string SERVICE_SEND_TEXT = "send_text"
 

Detailed Description

The System Bridge integration.

Function Documentation

◆ async_migrate_entry()

bool homeassistant.components.system_bridge.async_migrate_entry ( HomeAssistant  hass,
ConfigEntry  config_entry 
)
Migrate old entry.

Definition at line 476 of file __init__.py.

◆ async_reload_entry()

None homeassistant.components.system_bridge.async_reload_entry ( HomeAssistant  hass,
ConfigEntry  entry 
)
Reload the config entry when it changed.

Definition at line 471 of file __init__.py.

◆ async_setup_entry()

bool homeassistant.components.system_bridge.async_setup_entry ( HomeAssistant  hass,
ConfigEntry  entry 
)
Set up System Bridge from a config entry.

Definition at line 93 of file __init__.py.

◆ async_unload_entry()

bool homeassistant.components.system_bridge.async_unload_entry ( HomeAssistant  hass,
ConfigEntry  entry 
)
Unload a config entry.

Definition at line 445 of file __init__.py.

Variable Documentation

◆ _LOGGER

homeassistant.components.system_bridge._LOGGER = logging.getLogger(__name__)
private

Definition at line 61 of file __init__.py.

◆ CONF_BRIDGE

string homeassistant.components.system_bridge.CONF_BRIDGE = "bridge"

Definition at line 71 of file __init__.py.

◆ CONF_KEY

string homeassistant.components.system_bridge.CONF_KEY = "key"

Definition at line 72 of file __init__.py.

◆ CONF_TEXT

string homeassistant.components.system_bridge.CONF_TEXT = "text"

Definition at line 73 of file __init__.py.

◆ PLATFORMS

list homeassistant.components.system_bridge.PLATFORMS
Initial value:
1 = [
2  Platform.BINARY_SENSOR,
3  Platform.MEDIA_PLAYER,
4  Platform.NOTIFY,
5  Platform.SENSOR,
6  Platform.UPDATE,
7 ]

Definition at line 63 of file __init__.py.

◆ POWER_COMMAND_MAP

dictionary homeassistant.components.system_bridge.POWER_COMMAND_MAP
Initial value:
1 = {
2  "hibernate": "power_hibernate",
3  "lock": "power_lock",
4  "logout": "power_logout",
5  "restart": "power_restart",
6  "shutdown": "power_shutdown",
7  "sleep": "power_sleep",
8 }

Definition at line 83 of file __init__.py.

◆ SERVICE_GET_PROCESS_BY_ID

string homeassistant.components.system_bridge.SERVICE_GET_PROCESS_BY_ID = "get_process_by_id"

Definition at line 75 of file __init__.py.

◆ SERVICE_GET_PROCESSES_BY_NAME

string homeassistant.components.system_bridge.SERVICE_GET_PROCESSES_BY_NAME = "get_processes_by_name"

Definition at line 76 of file __init__.py.

◆ SERVICE_OPEN_PATH

string homeassistant.components.system_bridge.SERVICE_OPEN_PATH = "open_path"

Definition at line 77 of file __init__.py.

◆ SERVICE_OPEN_URL

string homeassistant.components.system_bridge.SERVICE_OPEN_URL = "open_url"

Definition at line 79 of file __init__.py.

◆ SERVICE_POWER_COMMAND

string homeassistant.components.system_bridge.SERVICE_POWER_COMMAND = "power_command"

Definition at line 78 of file __init__.py.

◆ SERVICE_SEND_KEYPRESS

string homeassistant.components.system_bridge.SERVICE_SEND_KEYPRESS = "send_keypress"

Definition at line 80 of file __init__.py.

◆ SERVICE_SEND_TEXT

string homeassistant.components.system_bridge.SERVICE_SEND_TEXT = "send_text"

Definition at line 81 of file __init__.py.