Home Assistant Unofficial Reference 2024.12.1
homeassistant.__main__ Namespace Reference

Functions

None check_threads ()
 
None ensure_config_path (str config_dir)
 
argparse.Namespace get_arguments ()
 
int main ()
 
None validate_os ()
 
None validate_python ()
 

Variables

string FAULT_LOG_FILENAME = "home-assistant.log.fault"
 

Function Documentation

◆ check_threads()

None homeassistant.__main__.check_threads ( )
Check if there are any lingering threads.

Definition at line 154 of file __main__.py.

◆ ensure_config_path()

None homeassistant.__main__.ensure_config_path ( str  config_dir)
Validate the configuration directory.

Definition at line 39 of file __main__.py.

◆ get_arguments()

argparse.Namespace homeassistant.__main__.get_arguments ( )
Get parsed passed in arguments.

Definition at line 81 of file __main__.py.

◆ main()

int homeassistant.__main__.main ( )
Start Home Assistant.

Definition at line 170 of file __main__.py.

◆ validate_os()

None homeassistant.__main__.validate_os ( )
Validate that Home Assistant is running in a supported operating system.

Definition at line 18 of file __main__.py.

◆ validate_python()

None homeassistant.__main__.validate_python ( )
Validate that the right Python version is running.

Definition at line 28 of file __main__.py.

Variable Documentation

◆ FAULT_LOG_FILENAME

string homeassistant.__main__.FAULT_LOG_FILENAME = "home-assistant.log.fault"

Definition at line 15 of file __main__.py.