Press a button entity
services_press_buttonPress a Home Assistant button entity to run its configured action via button.press and return changed states.
Instructions
Press a button entity, running whatever action it is configured to perform.
Calls button.press with {"entity_id": entity_id} over HTTP.
Use when: running a button entity's configured action, such as a template button or a device's physical-button equivalent. Returns: the list of states changed by the press.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| entity_id | Yes | Full button entity ID to press, e.g. 'button.restart_service'. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |