Skip to content

Helpers

Helpers are the building blocks of automations: the Guest Mode toggle, the heating-target slider, the laundry timer. They’re normally UI-only — these two services open all eight storage-backed types to Claude and to automations, so “build me a manual heating override” creates the helper and the automation in one conversation.

Type-specific options (min/max for input_number, the options list for input_select, duration for timer, weekday blocks for schedule) pass through to the helper’s own schema, so validation errors match what the UI would say. Helpers defined in YAML are refused — those belong to your configuration files.

Create helper

brain.create_helper

Create a helper of any storage-backed type: input_boolean, input_number, input_select, input_text, input_datetime, counter, timer, or schedule. Type-specific options pass through and are validated by the helper’s own schema. Returns the new helper’s id and entity_id as response data.

FieldTypeRequiredDescription
helper_typeselectyesWhich kind of helper to create.
nametextyesName of the new helper.
optionslist of objectsnoType-specific options, e.g. min/max/step for input_number, options list for input_select, duration for timer, has_date/has_time for input_datetime.
service: brain.create_helper
data:
helper_type: input_number
name: Heating Target
options:
min: 15
max: 25
step: 0.5
unit_of_measurement: °C

🗣️ “Build me a manual heating override: a target-temperature slider and a boolean to turn it on.”

Delete helper

brain.delete_helper

Delete one or more UI-created helpers of any storage-backed type. Helpers defined in YAML are refused with a clear error.

FieldTypeRequiredDescription
entity_identity (list)yesHelper entities to delete.
service: brain.delete_helper
data:
entity_id:
- input_boolean.old_test_toggle

🗣️ “Clean up the test helpers I made last month.”