Home Assistant Unofficial Reference 2024.12.1
homeassistant.scripts Namespace Reference

Namespaces

 auth
 
 benchmark
 
 check_config
 
 ensure_config
 
 macos
 

Functions

str extract_config_dir (Sequence[str]|None args=None)
 
int run (list[str] args)
 

Detailed Description

Home Assistant command line scripts.

Function Documentation

◆ extract_config_dir()

str homeassistant.scripts.extract_config_dir ( Sequence[str] | None   args = None)
Extract the config dir from the arguments or get the default.

Definition at line 71 of file __init__.py.

◆ run()

int homeassistant.scripts.run ( list[str]  args)
Run a script.

Definition at line 22 of file __init__.py.