upsert_helper
Create or update Home Assistant helpers like input_boolean, input_number, or input_text by id, applying a YAML config and reloading the domain automatically.
Instructions
Create or update a helper (reloads the domain automatically).
Args: domain: One of input_boolean / input_datetime / input_number / input_select / input_text / input_button. helper_id: Slug used as the helper id, e.g. 'moestuin_startdatum'. config: Full YAML config dict for the helper. Examples: input_boolean → {"name": "...", "initial": true, "icon": "mdi:bell"} input_datetime → {"name": "...", "has_date": true, "has_time": false} input_number → {"name": "...", "min": 0, "max": 100, "step": 1}
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| config | Yes | ||
| domain | Yes | ||
| helper_id | Yes |