Create or update a helper
ha_set_helperCreate or update Home Assistant helpers without editing configuration.yaml. Store them directly so their entities exist immediately.
Instructions
Create a Home Assistant helper, or update one that exists. This is how to add a helper without editing configuration.yaml — that file is not reachable from here and would need a restart; a helper created this way is stored by Home Assistant and its entity exists immediately.
Omit 'helper_id' to create; pass the id from ha_list_helpers to update. The new entity is ..
Fields per kind — Home Assistant validates and will name anything wrong: • input_boolean: name; optional icon, initial • input_number: name, min, max; optional step, initial, mode (box|slider), unit_of_measurement, icon • input_text: name; optional min, max, initial, pattern, mode (text|password), icon • input_select: name, options (array of strings); optional initial, icon • input_datetime: name, and at least one of has_date / has_time; optional initial, icon • input_button: name; optional icon • counter: name; optional initial, step, minimum, maximum, restore, icon • timer: name; optional duration (HH:MM:SS), restore, icon • schedule: name; optional monday…sunday (arrays of {from, to}), icon
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| kind | Yes | Helper type: input_boolean, input_number, input_text, input_select, input_datetime, input_button, counter, timer, schedule. | |
| config | Yes | The helper's fields, e.g. { name: 'Holiday mode', icon: 'mdi:palm-tree' }. | |
| helper_id | No | Existing helper id to update. Omit to create a new one. | |
| instance_id | No | Optional: the instance you mean (as listed by vomehome_list_instances). When given, the call is refused if this session is targeting a different home, instead of answering from it. |