toggle_entity
Switch Home Assistant devices on or off by specifying the entity ID and desired state to control smart home automation.
Instructions
Toggle a Home Assistant entity on/off
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| entity_id | Yes | The entity ID to toggle (e.g., switch.bedroom) | |
| state | Yes | The desired state (on/off) |