Get one design pattern
card_builder_get_design_patternRetrieve the full details of a specific curated design pattern by name, including rationale and anti-patterns, for use in Home Assistant card building.
Instructions
Get one curated design pattern by name, in full.
Looks up name in the module-level DESIGN_PATTERNS constant; makes
no call to Home Assistant.
Use when: reading the full rationale/anti-patterns for one pattern
already picked (e.g. via card_builder_design_for_intent).
Returns: same fields as one entry from
card_builder_list_design_patterns.
Errors: {"error": "unknown_pattern", "name": ..., "known": [...]}
when name isn't a known pattern.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | Pattern name, e.g. 'sensor_hero', from card_builder_list_design_patterns. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||