Home Assistant Unofficial Reference 2024.12.1
homeassistant.helpers.system_info Namespace Reference

Functions

str async_get_mac_ver (HomeAssistant hass)
 
dict[str, Any] async_get_system_info (HomeAssistant hass)
 
bool is_official_image ()
 

Variables

string _DATA_MAC_VER = "system_info_mac_ver"
 
 _LOGGER = logging.getLogger(__name__)
 
 cached_get_user = cache(getuser)
 

Detailed Description

Helper to gather system info.

Function Documentation

◆ async_get_mac_ver()

str homeassistant.helpers.system_info.async_get_mac_ver ( HomeAssistant  hass)
Return the macOS version.

Definition at line 33 of file system_info.py.

◆ async_get_system_info()

dict[str, Any] homeassistant.helpers.system_info.async_get_system_info ( HomeAssistant  hass)
Return info about the system.

Definition at line 44 of file system_info.py.

◆ is_official_image()

bool homeassistant.helpers.system_info.is_official_image ( )
Return True if Home Assistant is running in an official container.

Definition at line 27 of file system_info.py.

Variable Documentation

◆ _DATA_MAC_VER

string homeassistant.helpers.system_info._DATA_MAC_VER = "system_info_mac_ver"
private

Definition at line 23 of file system_info.py.

◆ _LOGGER

homeassistant.helpers.system_info._LOGGER = logging.getLogger(__name__)
private

Definition at line 21 of file system_info.py.

◆ cached_get_user

homeassistant.helpers.system_info.cached_get_user = cache(getuser)

Definition at line 40 of file system_info.py.