Home Assistant Unofficial Reference 2024.12.1
homeassistant.components.blueprint.models.BlueprintInputs Class Reference

Public Member Functions

None __init__ (self, Blueprint blueprint, dict[str, Any] config_with_inputs)
 
dict async_substitute (self)
 
dict[str, Any] inputs (self)
 
dict[str, Any] inputs_with_default (self)
 
None validate (self)
 

Public Attributes

 blueprint
 
 config_with_inputs
 

Detailed Description

Inputs for a blueprint.

Definition at line 140 of file models.py.

Constructor & Destructor Documentation

◆ __init__()

None homeassistant.components.blueprint.models.BlueprintInputs.__init__ (   self,
Blueprint  blueprint,
dict[str, Any]   config_with_inputs 
)
Instantiate a blueprint inputs object.

Definition at line 143 of file models.py.

Member Function Documentation

◆ async_substitute()

dict homeassistant.components.blueprint.models.BlueprintInputs.async_substitute (   self)
Get the blueprint value with the inputs substituted.

Definition at line 180 of file models.py.

◆ inputs()

dict[str, Any] homeassistant.components.blueprint.models.BlueprintInputs.inputs (   self)
Return the inputs.

Definition at line 151 of file models.py.

◆ inputs_with_default()

dict[str, Any] homeassistant.components.blueprint.models.BlueprintInputs.inputs_with_default (   self)
Return the inputs and fallback to defaults.

Definition at line 156 of file models.py.

◆ validate()

None homeassistant.components.blueprint.models.BlueprintInputs.validate (   self)
Validate the inputs.

Definition at line 169 of file models.py.

Member Data Documentation

◆ blueprint

homeassistant.components.blueprint.models.BlueprintInputs.blueprint

Definition at line 147 of file models.py.

◆ config_with_inputs

homeassistant.components.blueprint.models.BlueprintInputs.config_with_inputs

Definition at line 148 of file models.py.


The documentation for this class was generated from the following file: