Home Assistant Unofficial Reference 2024.12.1
homeassistant.components.script.helpers Namespace Reference

Functions

bool _blueprint_in_use (HomeAssistant hass, str blueprint_path)
 
None _reload_blueprint_scripts (HomeAssistant hass, str blueprint_path)
 
DomainBlueprints async_get_blueprints (HomeAssistant hass)
 

Variables

string DATA_BLUEPRINTS = "script_blueprints"
 

Detailed Description

Helpers for automation integration.

Function Documentation

◆ _blueprint_in_use()

bool homeassistant.components.script.helpers._blueprint_in_use ( HomeAssistant  hass,
str  blueprint_path 
)
private
Return True if any script references the blueprint.

Definition at line 13 of file helpers.py.

◆ _reload_blueprint_scripts()

None homeassistant.components.script.helpers._reload_blueprint_scripts ( HomeAssistant  hass,
str  blueprint_path 
)
private
Reload all script that rely on a specific blueprint.

Definition at line 20 of file helpers.py.

◆ async_get_blueprints()

DomainBlueprints homeassistant.components.script.helpers.async_get_blueprints ( HomeAssistant  hass)
Get script blueprints.

Definition at line 27 of file helpers.py.

Variable Documentation

◆ DATA_BLUEPRINTS

string homeassistant.components.script.helpers.DATA_BLUEPRINTS = "script_blueprints"

Definition at line 10 of file helpers.py.