card_builder_build_from_recipe
Convert a recipe shorthand into a full Home Assistant card configuration dict, ready to pass to create_card.
Instructions
Materialise a recipe shorthand into a full DocumentData (config) dict.
Recipe shape::
{
"slots": {"<slot_id>": {"name": "...", "description": "...", "domains": [...]}},
"root_slot": "<slot_id>", # binds root container to that slot
"root_entity": "entity.full_id", # OR set a fixed entity on root
"blocks": [ # children of the root container
{"type": "block-...", "props": {...}, "children": [...]},
...
]
}Returns a dict ready to pass as config to create_card. Run
validate_config on it first if you want a sanity check.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| recipe | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||