Skip to main content
Glama
Home Assistant MCP Server

Home Assistant MCP Server

Official

Create or Update Helper

ha_config_set_helper
Destructive

Create or update Home Assistant helpers, including simple types, flow-based helpers, and config subentries, by submitting form answers step by step or in one call.

Instructions

Create or update Home Assistant helpers: storage types, every helper flow HA lists, and config subentries.

MUST call ha_get_skill_guide OR refer to your locally installed skills first. helper-selection.md ships under skill_content by default.

SIMPLE types, written in one call: input_boolean, input_button, input_select, input_number, input_text, input_datetime, counter, timer, schedule, zone, person, tag.

FLOW types: every helper flow Home Assistant lists, read from it at call time — template, group, utility_meter, derivative, min_max, threshold, integration, statistics, trend, ... and custom helper integrations. Creating one runs its config flow; helper_id (the config entry id) runs its options flow instead. Do not create otp here although Home Assistant lists it: the user sets it up in the HA UI, since its secret is a credential they enroll in an authenticator app.

CONFIG_SUBENTRY type: pass entry_id and subentry_type; with subentry_id the subentry's reconfigure flow runs, without it its create flow.

Flows, one step per call, as the HA UI runs them: a call answers the step the flow is at and returns Home Assistant's next answer. A form comes back with its fields (type, default, current value, Home Assistant's help text) and flow_id; a menu with menu_options. Answer with flow_id and config (a form) or menu_choice (a menu); flow_id alone returns the step again, and flow_id with abort=True ends the flow. Without flow_id a new flow starts: menu_choice answers its opening menu and config the form after it, so a one-form helper is created or updated in one call; without config the call returns the form, and its later_forms when the helper has more than one (statistics, history_stats, generic_thermostat, ...). With a config list the call answers form after form and returns at the first one Home Assistant rejects, or once the answers run out. A rejected form is an error with Core's text, and the flow stays open to correct it. Nothing is saved until the flow finishes.

WHEN NOT TO USE:

  • An integration that is not a helper: ha_set_integration.

  • Removing a helper: ha_remove_helpers_integrations.

  • Renaming a flow helper's entity, or its registry settings alone: ha_set_entity.

Behavior:

  • A SIMPLE update preserves type-specific fields not re-passed (a rename never wipes initial/icon/etc.).

  • Omitted action: update when helper_id (for a config subentry, subentry_id) is given, else create.

  • area_id, labels, category and icon are applied to a flow helper's entities by the call that finishes the flow.

  • A progress step (Home Assistant working in the background) is waited out for up to 120 s. When Home Assistant does not answer a submit, the error carries status applied_but_unverified: check the helper before retrying.

EXAMPLES:

  • input_number: ha_config_set_helper(helper_type="input_number", name="Target", config={"min": 0, "max": 100, "step": 5})

  • template sensor: ha_config_set_helper(helper_type="template", menu_choice="sensor", config={"name": "Room Temp", "state": "{{ states('sensor.x')|float }}", "unit_of_measurement": "°C"})

  • group: ha_config_set_helper(helper_type="group", menu_choice="light", config={"name": "Kitchen Lights", "entities": ["light.a", "light.b"]})

  • see a form first: ha_config_set_helper(helper_type="statistics"), then answer it: ha_config_set_helper(helper_type="statistics", flow_id="...", config={...})

  • several forms in one call: ha_config_set_helper(helper_type="statistics", config=[{"name": "Temp Mean", "entity_id": "sensor.temp"}, {"state_characteristic": "mean"}, {"sampling_size": 20}])

  • update one option: ha_config_set_helper(helper_type="group", helper_id="01HXYZ...", config={"hide_members": true})

  • config subentry: ha_config_set_helper(helper_type="config_subentry", entry_id="01HXYZ...", subentry_type="conversation", config={"name": "Local agent", "model": "gemma3:27b"})

If a Claude Desktop user gets a 4-minute timeout with no result on this call, read the target back before repeating it, and tell them to wait a few seconds before clicking the manual-approve button, as clicking it too quickly is known to cause hangs in Claude Desktop. This workaround is specific to Claude Desktop.

create update new add helper input_boolean input_button input_number input_text input_datetime input_select counter timer schedule zone person tag template group utility_meter derivative min_max threshold integration statistics trend random filter tod generic_thermostat switch_as_x generic_hygrostat history_stats mold_indicator

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "helper_type": "<helper_type>"
    },
    "name": "ha_config_set_helper"
  }
}

Input Schema

NameRequiredDescriptionDefault
iconNoMaterial Design Icon (e.g., 'mdi:bell'); '' or ' ' clears it, except a zone's stored icon, which Home Assistant keeps on update as the zone dialog does: it can be changed but not removed. A storage helper's icon goes into its stored config when Home Assistant's schema for the type has an icon field, as the helper's own dialog stores it, and the entity registry is left alone; otherwise (person, tag, or another type without the ha_mcp_tools component) it goes into the entity registry. An icon override in the entity registry is set or cleared with ha_set_entity. Restoring a storage helper's automatic backup also puts back its registry icon, unless the backup predates registry icons being recorded; a flow helper's backup holds no icon, so its restore does not set one
nameNoDisplay name. Home Assistant decides which SIMPLE helper types need one to be created; optional on an update. Creating a FLOW helper, it answers the form's `name` field when the form has one and config sets none; a FLOW update does not use it (rename the entity with ha_set_entity). Not used by config_subentry.
waitNoWait for helper entity to be queryable before returning. Set to False for bulk operations.
abortNoWith flow_id: end the open flow without saving.
actionNoExplicit intent: 'create' a new helper or 'update' an existing one. Pass it so a helper_id typo fails as 'helper not found' instead of creating a helper.
configNoType-specific fields. On update it is a patch: a field you omit keeps its current value, and a SIMPLE type's field set to null is removed. SIMPLE types take these keys: the fields of the type's own Home Assistant schema, under its names; Home Assistant validates them and its error names any mistake. With the ha_mcp_tools component installed, ha_config_list_helpers(helper_type, describe=True) lists a type's fields. FLOW types and config_subentry: the answers to the form the flow is at, under the form's own field names (a section's fields nested under the section's name). On an update a field you omit is sent as the form shows it (its `current` value); a field set to null is left empty. Home Assistant validates the answer. A list answers several forms: one object per form, in the order Home Assistant asks for them.
labelsNoLabels to categorize the helper
area_idNoArea ID for the helper; '' or ' ' clears it
flow_idNoContinue an open flow: the flow_id a previous call returned, with the same helper_type and helper_id (or entry_id, subentry_type and subentry_id).
categoryNoCategory ID for this helper (ha_config_get_category(scope='helpers') lists them, ha_config_set_category() creates one); '' or ' ' clears it.
entry_idNoParent config entry ID when helper_type='config_subentry'. Use ha_get_integration() to find entry IDs.
helper_idNoThe helper's storage id ('my_button'), not the name of its entity, or its full entity_id ('input_button.my_button'); for a FLOW helper its config entry id. Omit to create a new helper.
helper_typeYesType of helper to create or update.
menu_choiceNoFLOW types and config_subentry: the option to pick at a menu step (template and group open with one).
subentry_idNoExisting config subentry ID to reconfigure when helper_type='config_subentry'.
MandatoryBPSNo
subentry_typeNoIntegration-defined subentry type when helper_type='config_subentry'.
BestPracticeKeyNoRead-receipt for the home-assistant-best-practices skill; required when strict best-practices mode is enabled. Not a secret or credential: the current value is an attestation phrase published openly at the top of the skill content served by ha_get_skill_guide. Read that content, then pass the value back verbatim — this round-trip is the server's designed protocol confirming the practices were read before writing.
show_advanced_optionsNoWhen helper_type='config_subentry', ask older Home Assistant versions to expose advanced flow options. No-op on HA 2026.6+; pending removal before HA 2027.6.

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed8 schema fields changedv9.2.0
    • addedInput schema / properties / abort
      Added value: +{
      +  "default": false,
      +  "description": "With flow_id: end the open flow without saving.",
      +  "type": "boolean"
      +}
    • changedInput schema / properties / config / anyOf
      Previous value: -[
      -  {
      -    "additionalProperties": true,
      -    "type": "object"
      -  },
      -  {
      -    "type": "null"
      -  }
      -]New value: +[
      +  {
      +    "additionalProperties": true,
      +    "type": "object"
      +  },
      +  {
      +    "items": {
      +      "additionalProperties": true,
      +      "type": "object"
      +    },
      +    "type": "array"
      +  },
      +  {
      +    "type": "null"
      +  }
      +]
    • changedInput schema / properties / config / description
      Previous value: -"Type-specific fields. On update it is a patch: a field you omit keeps its current value. SIMPLE types take these keys: input_select: options (list, required), initial. input_number: min, max (required), step, unit_of_measurement, mode ('box'/'slider'), initial. input_text: min, max (length), mode ('text'/'password'), initial, unit_of_measurement, pattern (regex the value must match). input_datetime: has_date, has_time, initial. input_boolean: initial. counter: initial (starting value), minimum, maximum, step, restore (default true). timer: duration ('HH:MM:SS' or seconds), restore (default false). schedule: monday..sunday, each a list of {'from': 'HH:MM', 'to': 'HH:MM'} with optional 'data' dict of extra attributes. zone: latitude, longitude (both required), radius (meters, default 100), passive (won't trigger person state changes). person: user_id, device_trackers (device_tracker entity IDs), picture (URL). tag: tag_id (omit on create to auto-generate), description. On input_* types, `initial` — even false/0 — disables last-state restore and forces that value on every HA restart. ha_config_list_helpers(helper_type, describe=True) lists a type's fields. FLOW types and config_subentry take the flow's fields; a field set to null is cleared where the schema allows that field to be empty. A field two steps declare gets your one value both times; pass step_values={'<step_id>': {'<field>': <value>}} to give a step its own value, or to leave it out of that step; a LIST of those objects supplies one per encounter when the flow presents a step more than once."New value: +"Type-specific fields. On update it is a patch: a field you omit keeps its current value, and a SIMPLE type's field set to null is removed. SIMPLE types take these keys: the fields of the type's own Home Assistant schema, under its names; Home Assistant validates them and its error names any mistake. With the ha_mcp_tools component installed, ha_config_list_helpers(helper_type, describe=True) lists a type's fields. FLOW types and config_subentry: the answers to the form the flow is at, under the form's own field names (a section's fields nested under the section's name). On an update a field you omit is sent as the form shows it (its `current` value); a field set to null is left empty. Home Assistant validates the answer. A list answers several forms: one object per form, in the order Home Assistant asks for them."
    • addedInput schema / properties / flow_id
      Added value: +{
      +  "anyOf": [
      +    {
      +      "type": "string"
      +    },
      +    {
      +      "type": "null"
      +    }
      +  ],
      +  "default": null,
      +  "description": "Continue an open flow: the flow_id a previous call returned, with the same helper_type and helper_id (or entry_id, subentry_type and subentry_id)."
      +}
    • changedInput schema / properties / helper_id / description
      Previous value: -"The helper's storage id ('my_button'), not the name of its entity, or its full entity_id ('input_button.my_button'). Omit to create a new helper."New value: +"The helper's storage id ('my_button'), not the name of its entity, or its full entity_id ('input_button.my_button'); for a FLOW helper its config entry id. Omit to create a new helper."
    • changedInput schema / properties / icon / description
      Previous value: -"Material Design Icon (e.g., 'mdi:bell'); '' or ' ' clears it, except a zone's stored icon (the icon in the zone's own config, as the Home Assistant UI stores it; ha_get_zone shows it), which cannot be removed. On create, a storage helper's icon goes into its stored config when Home Assistant's schema for the type has an icon field, otherwise (person, tag, a new zone, or without the ha_mcp_tools component) into the entity registry; an update always sets the registry icon, and the stored icon too where the schema has one. Restoring a storage helper's automatic backup also puts back its registry icon, unless the backup predates registry icons being recorded; a flow helper's backup holds no icon, so its restore does not set one"New value: +"Material Design Icon (e.g., 'mdi:bell'); '' or ' ' clears it, except a zone's stored icon, which Home Assistant keeps on update as the zone dialog does: it can be changed but not removed. A storage helper's icon goes into its stored config when Home Assistant's schema for the type has an icon field, as the helper's own dialog stores it, and the entity registry is left alone; otherwise (person, tag, or another type without the ha_mcp_tools component) it goes into the entity registry. An icon override in the entity registry is set or cleared with ha_set_entity. Restoring a storage helper's automatic backup also puts back its registry icon, unless the backup predates registry icons being recorded; a flow helper's backup holds no icon, so its restore does not set one"
    • addedInput schema / properties / menu_choice
      Added value: +{
      +  "anyOf": [
      +    {
      +      "type": "string"
      +    },
      +    {
      +      "type": "null"
      +    }
      +  ],
      +  "default": null,
      +  "description": "FLOW types and config_subentry: the option to pick at a menu step (template and group open with one)."
      +}
    • changedInput schema / properties / name / description
      Previous value: -"Display name for simple/flow helper creation. Optional on helper update. Ignored for helper_type='config_subentry', which uses entry_id/subentry_type/subentry_id instead. For flow-based helper updates (template, group, utility_meter, ...), this is ignored because options flows don't expose renaming; change the resulting entity's display name with ha_set_entity(name=...)."New value: +"Display name. Home Assistant decides which SIMPLE helper types need one to be created; optional on an update. Creating a FLOW helper, it answers the form's `name` field when the form has one and config sets none; a FLOW update does not use it (rename the entity with ha_set_entity). Not used by config_subentry."
  2. Changed2 schema fields changedv9.0.0
    • changedInput schema / properties / helper_id / description
      Previous value: -"Bare ID ('my_button') or full entity ID ('input_button.my_button'). Omit to create a new helper."New value: +"The helper's storage id ('my_button'), not the name of its entity, or its full entity_id ('input_button.my_button'). Omit to create a new helper."
    • changedInput schema / properties / icon / description
      Previous value: -"Material Design Icon (e.g., 'mdi:bell'); '' or ' ' clears it, except a zone's stored icon (the icon in the zone's own config, set at creation or by ha_set_zone; ha_get_zone shows it), which cannot be removed"New value: +"Material Design Icon (e.g., 'mdi:bell'); '' or ' ' clears it, except a zone's stored icon (the icon in the zone's own config, as the Home Assistant UI stores it; ha_get_zone shows it), which cannot be removed. On create, a storage helper's icon goes into its stored config when Home Assistant's schema for the type has an icon field, otherwise (person, tag, a new zone, or without the ha_mcp_tools component) into the entity registry; an update always sets the registry icon, and the stored icon too where the schema has one. Restoring a storage helper's automatic backup also puts back its registry icon, unless the backup predates registry icons being recorded; a flow helper's backup holds no icon, so its restore does not set one"
  3. Changed35 schema fields changedv8.7.0
    • changedInput schema / properties / area_id / description
      Previous value: -"Area/room ID to assign the helper to"New value: +"Area ID for the helper; '' or ' ' clears it"
    • changedInput schema / properties / category / description
      Previous value: -"Category ID to assign to this helper. Use ha_config_get_category(scope='helpers') to list available categories, or ha_config_set_category() to create one."New value: +"Category ID for this helper (ha_config_get_category(scope='helpers') lists them, ha_config_set_category() creates one); '' or ' ' clears it."
    • changedInput schema / properties / config / description
      Previous value: -"Config dict for flow-based helper types and helper_type='config_subentry'. Ignored for simple helper types. On update it is a patch: a field you omit keeps its current value, and a field set to null is cleared where the schema allows that field to be empty. A field two steps declare gets your one value both times; pass step_values={'<step_id>': {'<field>': <value>}} to give a step its own value, or to leave it out of that step; a LIST of those objects supplies one per encounter when the flow presents a step more than once."New value: +"Type-specific fields. On update it is a patch: a field you omit keeps its current value. SIMPLE types take these keys: input_select: options (list, required), initial. input_number: min, max (required), step, unit_of_measurement, mode ('box'/'slider'), initial. input_text: min, max (length), mode ('text'/'password'), initial, unit_of_measurement, pattern (regex the value must match). input_datetime: has_date, has_time, initial. input_boolean: initial. counter: initial (starting value), minimum, maximum, step, restore (default true). timer: duration ('HH:MM:SS' or seconds), restore (default false). schedule: monday..sunday, each a list of {'from': 'HH:MM', 'to': 'HH:MM'} with optional 'data' dict of extra attributes. zone: latitude, longitude (both required), radius (meters, default 100), passive (won't trigger person state changes). person: user_id, device_trackers (device_tracker entity IDs), picture (URL). tag: tag_id (omit on create to auto-generate), description. On input_* types, `initial` — even false/0 — disables last-state restore and forces that value on every HA restart. ha_config_list_helpers(helper_type, describe=True) lists a type's fields. FLOW types and config_subentry take the flow's fields; a field set to null is cleared where the schema allows that field to be empty. A field two steps declare gets your one value both times; pass step_values={'<step_id>': {'<field>': <value>}} to give a step its own value, or to leave it out of that step; a LIST of those objects supplies one per encounter when the flow presents a step more than once."
    • removedInput schema / properties / description
      Removed value: -{
      -  "anyOf": [
      -    {
      -      "type": "string"
      -    },
      -    {
      -      "type": "null"
      -    }
      -  ],
      -  "default": null,
      -  "description": "Description for tag"
      -}
    • removedInput schema / properties / device_trackers
      Removed value: -{
      -  "anyOf": [
      -    {
      -      "items": {
      -        "type": "string"
      -      },
      -      "type": "array"
      -    },
      -    {
      -      "type": "null"
      -    }
      -  ],
      -  "default": null,
      -  "description": "List of device_tracker entity IDs for person"
      -}
    • removedInput schema / properties / duration
      Removed value: -{
      -  "anyOf": [
      -    {
      -      "type": "string"
      -    },
      -    {
      -      "type": "null"
      -    }
      -  ],
      -  "default": null,
      -  "description": "Default duration for timer in format 'HH:MM:SS' or seconds (e.g., '0:05:00' for 5 minutes)"
      -}
    • removedInput schema / properties / friday
      Removed value: -{
      -  "anyOf": [
      -    {
      -      "items": {
      -        "additionalProperties": true,
      -        "type": "object"
      -      },
      -      "type": "array"
      -    },
      -    {
      -      "type": "null"
      -    }
      -  ],
      -  "default": null,
      -  "description": "Schedule time ranges for Friday; same shape as monday."
      -}
    • removedInput schema / properties / has_date
      Removed value: -{
      -  "anyOf": [
      -    {
      -      "type": "boolean"
      -    },
      -    {
      -      "type": "null"
      -    }
      -  ],
      -  "default": null,
      -  "description": "Include date component for input_datetime"
      -}
    • removedInput schema / properties / has_time
      Removed value: -{
      -  "anyOf": [
      -    {
      -      "type": "boolean"
      -    },
      -    {
      -      "type": "null"
      -    }
      -  ],
      -  "default": null,
      -  "description": "Include time component for input_datetime"
      -}
    • addedInput schema / properties / helper_type / anyOf
      Added value: +[
      +  {
      +    "enum": [
      +      "input_button",
      +      "input_boolean",
      +      "input_select",
      +      "input_number",
      +      "input_text",
      +      "input_datetime",
      +      "counter",
      +      "timer",
      +      "schedule",
      +      "zone",
      +      "person",
      +      "tag"
      +    ],
      +    "type": "string"
      +  },
      +  {
      +    "const": "config_subentry",
      +    "type": "string"
      +  },
      +  {
      +    "type": "string"
      +  }
      +]
    • changedInput schema / properties / helper_type / description
      Previous value: -"Type of helper entity to create or update"New value: +"Type of helper to create or update."
    • removedInput schema / properties / helper_type / enum
      Removed value: -[
      -  "counter",
      -  "config_subentry",
      -  "derivative",
      -  "filter",
      -  "generic_hygrostat",
      -  "generic_thermostat",
      -  "group",
      -  "history_stats",
      -  "input_boolean",
      -  "input_button",
      -  "input_datetime",
      -  "input_number",
      -  "input_select",
      -  "input_text",
      -  "integration",
      -  "min_max",
      -  "mold_indicator",
      -  "person",
      -  "random",
      -  "schedule",
      -  "statistics",
      -  "switch_as_x",
      -  "tag",
      -  "template",
      -  "threshold",
      -  "timer",
      -  "tod",
      -  "trend",
      -  "utility_meter",
      -  "zone"
      -]
    • removedInput schema / properties / helper_type / type
      Removed value: -"string"
    • changedInput schema / properties / icon / description
      Previous value: -"Material Design Icon (e.g., 'mdi:bell', 'mdi:toggle-switch')"New value: +"Material Design Icon (e.g., 'mdi:bell'); '' or ' ' clears it, except a zone's stored icon (the icon in the zone's own config, set at creation or by ha_set_zone; ha_get_zone shows it), which cannot be removed"
    • removedInput schema / properties / initial
      Removed value: -{
      -  "anyOf": [
      -    {
      -      "type": "string"
      -    },
      -    {
      -      "type": "integer"
      -    },
      -    {
      -      "type": "null"
      -    }
      -  ],
      -  "default": null,
      -  "description": "Initial value for applicable helper types. For input_boolean, input_select, input_number, input_text, and input_datetime: setting `initial` — even to false/0 — disables last-state restore and forces that value on every HA restart; omit unless you want the helper to reset to that value on every restart instead of restoring its last state. For counter, `initial` is just the starting value — restore-on-restart is controlled separately by `restore` (default True)."
      -}
    • removedInput schema / properties / latitude
      Removed value: -{
      -  "anyOf": [
      -    {
      -      "type": "number"
      -    },
      -    {
      -      "type": "null"
      -    }
      -  ],
      -  "default": null,
      -  "description": "Latitude for zone (required for zone)"
      -}
    • removedInput schema / properties / longitude
      Removed value: -{
      -  "anyOf": [
      -    {
      -      "type": "number"
      -    },
      -    {
      -      "type": "null"
      -    }
      -  ],
      -  "default": null,
      -  "description": "Longitude for zone (required for zone)"
      -}
    • removedInput schema / properties / max_value
      Removed value: -{
      -  "anyOf": [
      -    {
      -      "type": "number"
      -    },
      -    {
      -      "type": "null"
      -    }
      -  ],
      -  "default": null,
      -  "description": "Maximum value (input_number/counter) or maximum length (input_text). Also accepts shorthand 'max'."
      -}
    • removedInput schema / properties / min_value
      Removed value: -{
      -  "anyOf": [
      -    {
      -      "type": "number"
      -    },
      -    {
      -      "type": "null"
      -    }
      -  ],
      -  "default": null,
      -  "description": "Minimum value (input_number/counter) or minimum length (input_text). Also accepts shorthand 'min'."
      -}
    • removedInput schema / properties / mode
      Removed value: -{
      -  "anyOf": [
      -    {
      -      "type": "string"
      -    },
      -    {
      -      "type": "null"
      -    }
      -  ],
      -  "default": null,
      -  "description": "Display mode: 'box'/'slider' for input_number, 'text'/'password' for input_text"
      -}
    • removedInput schema / properties / monday
      Removed value: -{
      -  "anyOf": [
      -    {
      -      "items": {
      -        "additionalProperties": true,
      -        "type": "object"
      -      },
      -      "type": "array"
      -    },
      -    {
      -      "type": "null"
      -    }
      -  ],
      -  "default": null,
      -  "description": "Schedule time ranges for Monday. List of {'from': 'HH:MM', 'to': 'HH:MM'} dicts. Optional 'data' dict for additional attributes (e.g. {'from': '07:00', 'to': '22:00', 'data': {'mode': 'comfort'}})"
      -}
    • removedInput schema / properties / options
      Removed value: -{
      -  "anyOf": [
      -    {
      -      "type": "string"
      -    },
      -    {
      -      "items": {
      -        "type": "string"
      -      },
      -      "type": "array"
      -    },
      -    {
      -      "type": "null"
      -    }
      -  ],
      -  "default": null,
      -  "description": "List of options for input_select (required for input_select)"
      -}
    • removedInput schema / properties / passive
      Removed value: -{
      -  "anyOf": [
      -    {
      -      "type": "boolean"
      -    },
      -    {
      -      "type": "null"
      -    }
      -  ],
      -  "default": null,
      -  "description": "Passive zone (won't trigger state changes for person entities)"
      -}
    • removedInput schema / properties / picture
      Removed value: -{
      -  "anyOf": [
      -    {
      -      "type": "string"
      -    },
      -    {
      -      "type": "null"
      -    }
      -  ],
      -  "default": null,
      -  "description": "Picture URL for person entity"
      -}
    • removedInput schema / properties / radius
      Removed value: -{
      -  "anyOf": [
      -    {
      -      "type": "number"
      -    },
      -    {
      -      "type": "null"
      -    }
      -  ],
      -  "default": null,
      -  "description": "Radius in meters for zone (default: 100)"
      -}
    • removedInput schema / properties / restore
      Removed value: -{
      -  "anyOf": [
      -    {
      -      "type": "boolean"
      -    },
      -    {
      -      "type": "null"
      -    }
      -  ],
      -  "default": null,
      -  "description": "Restore state after restart (counter, timer). Defaults to True for counter, False for timer"
      -}
    • removedInput schema / properties / saturday
      Removed value: -{
      -  "anyOf": [
      -    {
      -      "items": {
      -        "additionalProperties": true,
      -        "type": "object"
      -      },
      -      "type": "array"
      -    },
      -    {
      -      "type": "null"
      -    }
      -  ],
      -  "default": null,
      -  "description": "Schedule time ranges for Saturday; same shape as monday."
      -}
    • removedInput schema / properties / step
      Removed value: -{
      -  "anyOf": [
      -    {
      -      "type": "number"
      -    },
      -    {
      -      "type": "null"
      -    }
      -  ],
      -  "default": null,
      -  "description": "Step/increment value for input_number or counter"
      -}
    • removedInput schema / properties / sunday
      Removed value: -{
      -  "anyOf": [
      -    {
      -      "items": {
      -        "additionalProperties": true,
      -        "type": "object"
      -      },
      -      "type": "array"
      -    },
      -    {
      -      "type": "null"
      -    }
      -  ],
      -  "default": null,
      -  "description": "Schedule time ranges for Sunday; same shape as monday."
      -}
    • removedInput schema / properties / tag_id
      Removed value: -{
      -  "anyOf": [
      -    {
      -      "type": "string"
      -    },
      -    {
      -      "type": "null"
      -    }
      -  ],
      -  "default": null,
      -  "description": "Tag ID. On create, omit to auto-generate a uuid4 hex. On update, the existing tag_id is required (passed via helper_id)."
      -}
    • removedInput schema / properties / thursday
      Removed value: -{
      -  "anyOf": [
      -    {
      -      "items": {
      -        "additionalProperties": true,
      -        "type": "object"
      -      },
      -      "type": "array"
      -    },
      -    {
      -      "type": "null"
      -    }
      -  ],
      -  "default": null,
      -  "description": "Schedule time ranges for Thursday; same shape as monday."
      -}
    • removedInput schema / properties / tuesday
      Removed value: -{
      -  "anyOf": [
      -    {
      -      "items": {
      -        "additionalProperties": true,
      -        "type": "object"
      -      },
      -      "type": "array"
      -    },
      -    {
      -      "type": "null"
      -    }
      -  ],
      -  "default": null,
      -  "description": "Schedule time ranges for Tuesday; same shape as monday."
      -}
    • removedInput schema / properties / unit_of_measurement
      Removed value: -{
      -  "anyOf": [
      -    {
      -      "type": "string"
      -    },
      -    {
      -      "type": "null"
      -    }
      -  ],
      -  "default": null,
      -  "description": "Unit of measurement for input_number (e.g., '°C', '%', 'W'). Also accepts shorthand 'unit'."
      -}
    • removedInput schema / properties / user_id
      Removed value: -{
      -  "anyOf": [
      -    {
      -      "type": "string"
      -    },
      -    {
      -      "type": "null"
      -    }
      -  ],
      -  "default": null,
      -  "description": "User ID to link to person entity"
      -}
    • removedInput schema / properties / wednesday
      Removed value: -{
      -  "anyOf": [
      -    {
      -      "items": {
      -        "additionalProperties": true,
      -        "type": "object"
      -      },
      -      "type": "array"
      -    },
      -    {
      -      "type": "null"
      -    }
      -  ],
      -  "default": null,
      -  "description": "Schedule time ranges for Wednesday; same shape as monday."
      -}
  4. Changed13 schema fields changedv8.6.0
    • changedInput schema / properties / action / description
      Previous value: -"Explicit intent: 'create' a new helper or 'update' an existing one. When omitted, falls back to the implicit discriminator: presence of helper_id => update, absence => create. Pass 'create' or 'update' to disambiguate (e.g. so a typo in helper_id surfaces as a clear 'helper not found' error instead of being mistaken for a create call)."New value: +"Explicit intent: 'create' a new helper or 'update' an existing one. Pass it so a helper_id typo fails as 'helper not found' instead of creating a helper."
    • changedInput schema / properties / config / description
      Previous value: -"Config dict for flow-based helper types and helper_type='config_subentry' (template, group, utility_meter, derivative, min_max, threshold, integration, statistics, trend, random, filter, tod, generic_thermostat, switch_as_x, generic_hygrostat, history_stats, mold_indicator). Ignored for simple helper types. On update it is a patch: a field you omit keeps its current value, and a field set to null is cleared where the schema allows that field to be empty. A field two steps declare gets your one value both times; pass step_values={'<step_id>': {'<field>': <value>}} to give a step its own value, or to leave it out of that step; a LIST of those objects supplies one per encounter when the flow presents a step more than once. Field set is delivered as data_schema on the first validation error."New value: +"Config dict for flow-based helper types and helper_type='config_subentry'. Ignored for simple helper types. On update it is a patch: a field you omit keeps its current value, and a field set to null is cleared where the schema allows that field to be empty. A field two steps declare gets your one value both times; pass step_values={'<step_id>': {'<field>': <value>}} to give a step its own value, or to leave it out of that step; a LIST of those objects supplies one per encounter when the flow presents a step more than once."
    • changedInput schema / properties / friday / description
      Previous value: -"Schedule time ranges for Friday. List of {'from': 'HH:MM', 'to': 'HH:MM'} dicts. Optional 'data' dict for additional attributes."New value: +"Schedule time ranges for Friday; same shape as monday."
    • changedInput schema / properties / helper_id / description
      Previous value: -"REQUIRED when updating an existing helper. Bare ID ('my_button') or full entity ID ('input_button.my_button'). Omit to create a new helper."New value: +"Bare ID ('my_button') or full entity ID ('input_button.my_button'). Omit to create a new helper."
    • changedInput schema / properties / name / description
      Previous value: -"Display name for simple/flow helper creation. Required when creating a helper without helper_id. Optional on helper update. Ignored for helper_type='config_subentry', which uses entry_id/subentry_type/subentry_id instead. For flow-based helper updates (template, group, utility_meter, ...), this is typically ignored because options flows don't expose renaming. Rename a flow helper by deleting and recreating instead."New value: +"Display name for simple/flow helper creation. Optional on helper update. Ignored for helper_type='config_subentry', which uses entry_id/subentry_type/subentry_id instead. For flow-based helper updates (template, group, utility_meter, ...), this is ignored because options flows don't expose renaming; change the resulting entity's display name with ha_set_entity(name=...)."
    • changedInput schema / properties / saturday / description
      Previous value: -"Schedule time ranges for Saturday. List of {'from': 'HH:MM', 'to': 'HH:MM'} dicts. Optional 'data' dict for additional attributes."New value: +"Schedule time ranges for Saturday; same shape as monday."
    • changedInput schema / properties / subentry_id / description
      Previous value: -"Existing config subentry ID to reconfigure when helper_type='config_subentry'. Omit to create."New value: +"Existing config subentry ID to reconfigure when helper_type='config_subentry'."
    • changedInput schema / properties / sunday / description
      Previous value: -"Schedule time ranges for Sunday. List of {'from': 'HH:MM', 'to': 'HH:MM'} dicts. Optional 'data' dict for additional attributes."New value: +"Schedule time ranges for Sunday; same shape as monday."
    • changedInput schema / properties / tag_id / description
      Previous value: -"Tag ID for tag. On create, omit to auto-generate a unique uuid4 hex (HA's tag/create requires this field; the tool fills it in for you). On update, the tag's existing tag_id is required (passed via helper_id)."New value: +"Tag ID. On create, omit to auto-generate a uuid4 hex. On update, the existing tag_id is required (passed via helper_id)."
    • changedInput schema / properties / thursday / description
      Previous value: -"Schedule time ranges for Thursday. List of {'from': 'HH:MM', 'to': 'HH:MM'} dicts. Optional 'data' dict for additional attributes."New value: +"Schedule time ranges for Thursday; same shape as monday."
    • changedInput schema / properties / tuesday / description
      Previous value: -"Schedule time ranges for Tuesday. List of {'from': 'HH:MM', 'to': 'HH:MM'} dicts. Optional 'data' dict for additional attributes."New value: +"Schedule time ranges for Tuesday; same shape as monday."
    • changedInput schema / properties / wait / description
      Previous value: -"Wait for helper entity to be queryable before returning. Default: True. Set to False for bulk operations."New value: +"Wait for helper entity to be queryable before returning. Set to False for bulk operations."
    • changedInput schema / properties / wednesday / description
      Previous value: -"Schedule time ranges for Wednesday. List of {'from': 'HH:MM', 'to': 'HH:MM'} dicts. Optional 'data' dict for additional attributes."New value: +"Schedule time ranges for Wednesday; same shape as monday."
  5. Changed1 schema field changedv8.4.1
    • changedInput schema / properties / config / description
      Previous value: -"Config dict for flow-based helper types and helper_type='config_subentry' (template, group, utility_meter, derivative, min_max, threshold, integration, statistics, trend, random, filter, tod, generic_thermostat, switch_as_x, generic_hygrostat, history_stats, mold_indicator). Ignored for simple helper types. Field set is delivered as data_schema on the first validation error."New value: +"Config dict for flow-based helper types and helper_type='config_subentry' (template, group, utility_meter, derivative, min_max, threshold, integration, statistics, trend, random, filter, tod, generic_thermostat, switch_as_x, generic_hygrostat, history_stats, mold_indicator). Ignored for simple helper types. On update it is a patch: a field you omit keeps its current value, and a field set to null is cleared where the schema allows that field to be empty. A field two steps declare gets your one value both times; pass step_values={'<step_id>': {'<field>': <value>}} to give a step its own value, or to leave it out of that step; a LIST of those objects supplies one per encounter when the flow presents a step more than once. Field set is delivered as data_schema on the first validation error."
  6. Changed2 schema fields changedv8.3.0
    • changedInput schema / properties / config / description
      Previous value: -"Config dict for flow-based helper types and helper_type='config_subentry' (template, group, utility_meter, derivative, min_max, threshold, integration, statistics, trend, random, filter, tod, generic_thermostat, switch_as_x, generic_hygrostat). Ignored for simple helper types. Field set is delivered as data_schema on the first validation error."New value: +"Config dict for flow-based helper types and helper_type='config_subentry' (template, group, utility_meter, derivative, min_max, threshold, integration, statistics, trend, random, filter, tod, generic_thermostat, switch_as_x, generic_hygrostat, history_stats, mold_indicator). Ignored for simple helper types. Field set is delivered as data_schema on the first validation error."
    • changedInput schema / properties / helper_type / enum
      Previous value: -[
      -  "counter",
      -  "config_subentry",
      -  "derivative",
      -  "filter",
      -  "generic_hygrostat",
      -  "generic_thermostat",
      -  "group",
      -  "input_boolean",
      -  "input_button",
      -  "input_datetime",
      -  "input_number",
      -  "input_select",
      -  "input_text",
      -  "integration",
      -  "min_max",
      -  "person",
      -  "random",
      -  "schedule",
      -  "statistics",
      -  "switch_as_x",
      -  "tag",
      -  "template",
      -  "threshold",
      -  "timer",
      -  "tod",
      -  "trend",
      -  "utility_meter",
      -  "zone"
      -]New value: +[
      +  "counter",
      +  "config_subentry",
      +  "derivative",
      +  "filter",
      +  "generic_hygrostat",
      +  "generic_thermostat",
      +  "group",
      +  "history_stats",
      +  "input_boolean",
      +  "input_button",
      +  "input_datetime",
      +  "input_number",
      +  "input_select",
      +  "input_text",
      +  "integration",
      +  "min_max",
      +  "mold_indicator",
      +  "person",
      +  "random",
      +  "schedule",
      +  "statistics",
      +  "switch_as_x",
      +  "tag",
      +  "template",
      +  "threshold",
      +  "timer",
      +  "tod",
      +  "trend",
      +  "utility_meter",
      +  "zone"
      +]
  7. First observedv7.14.2

TDQS

A4.7/5.0
Behavior5/5

Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?

Beyond the annotations (destructive, non-idempotent) it discloses non-obvious behavior: nothing is saved until the flow finishes, simple updates preserve un-passed fields, area/labels/category/icon are applied by the call that completes the flow, progress steps wait up to 120s, and a submit timeout returns status applied_but_unverified. That last item is exactly the kind of retry-safety context an agent cannot get from structured fields.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness3/5

Is the description appropriately sized, front-loaded, and free of redundancy?

Headings, the when-not-to-use block, and the worked examples make it skimmable and front-loaded, but several sentences are dense run-ons (the config/flow paragraph, the icon parameter prose) and the trailing keyword dump plus the Claude Desktop timeout paragraph sit awkwardly at the end without structure.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness5/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For a 19-parameter, flow-state-machine tool this is close to complete: it explains the create-vs-update default, the step-by-step flow protocol, abort semantics, and multi-form batching, and an output schema exists so return values need no explanation. Nothing an agent needs in order to drive the flow correctly is missing.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters4/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema coverage is already 95%, so most field meaning is carried structurally; the description's added value is in cross-parameter interactions — that omitted `action` is inferred from helper_id/subentry_id presence, that `config` is a patch on update but a list answers multiple forms in order, and that flow_id must be paired with the same helper_type. It adds real semantics beyond the schema, though a few parameters (wait, icon, show_advanced_options) are only restated.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose5/5

Does the description clearly state what the tool does and how it differs from similar tools?

The opening line states a specific verb and resource: create or update Home Assistant helpers, then enumerates the three families (SIMPLE, FLOW, config_subentry) it covers. An agent can tell this apart from ha_set_integration, ha_set_entity, and ha_remove_helpers_integrations without opening any schema.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines5/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

It includes an explicit WHEN NOT TO USE block naming the correct alternate tools for non-helper integrations, removal, and entity/registry renames. It also prescribes a prerequisite (call ha_get_skill_guide first) and carves out an exclusion for `otp` with the reason given.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

Deploy Server

Other Tools