Set an input_boolean value
helpers_set_input_booleanSet an input_boolean helper to true or false in Home Assistant, updating the chosen entity and returning changed states.
Instructions
Set an input_boolean helper to true or false.
Calls input_boolean.turn_on when value is true, otherwise
input_boolean.turn_off, over HTTP.
Use when: setting a known boolean helper to a specific value.
Not for: any other domain's on/off state — use entities_turn_on/
entities_turn_off, which work generically across domains including
input_boolean.
Returns: the list of states changed by the call.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| value | Yes | Target boolean value; true calls turn_on, false calls turn_off. | |
| entity_id | Yes | Full input_boolean entity ID to set, e.g. 'input_boolean.guest_mode'. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |