control_device
Turn Home Assistant devices on or off by specifying entity IDs and desired states to manage smart home automation through natural language commands.
Instructions
Control a Home Assistant entity by turning it on or off.
Args:
    entity_id: The Home Assistant entity ID to control (format: domain.entity)
    state: The desired state ('on' or 'off')
Input Schema
| Name | Required | Description | Default | 
|---|---|---|---|
| entity_id | Yes | ||
| state | Yes | 
Input Schema (JSON Schema)
{
  "properties": {
    "entity_id": {
      "title": "Entity Id",
      "type": "string"
    },
    "state": {
      "title": "State",
      "type": "string"
    }
  },
  "required": [
    "entity_id",
    "state"
  ],
  "type": "object"
}