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

Functions

bool _blueprint_in_use (HomeAssistant hass, str blueprint_path)
 
None _reload_blueprint_automations (HomeAssistant hass, str blueprint_path)
 
blueprint.DomainBlueprints async_get_blueprints (HomeAssistant hass)
 

Variables

string DATA_BLUEPRINTS = "automation_blueprints"
 

Detailed Description

Helpers for automation integration.

Function Documentation

◆ _blueprint_in_use()

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

Definition at line 13 of file helpers.py.

◆ _reload_blueprint_automations()

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

Definition at line 20 of file helpers.py.

◆ async_get_blueprints()

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

Definition at line 29 of file helpers.py.

Variable Documentation

◆ DATA_BLUEPRINTS

string homeassistant.components.automation.helpers.DATA_BLUEPRINTS = "automation_blueprints"

Definition at line 10 of file helpers.py.