Set climate mode
services_set_climate_modeSwitch a thermostat between heat, cool, auto, off, fan_only, and dry modes by calling Home Assistant's climate.set_hvac_mode for a selected entity. Changes HVAC mode, not target temperature.
Instructions
Set a climate entity's heating/cooling mode.
Calls climate.set_hvac_mode with {"entity_id": entity_id, "hvac_mode": hvac_mode} over HTTP.
Use when: switching a thermostat between heat/cool/auto/off/fan_only/dry.
Not for: the target temperature — use entities_set_value.
Returns: the list of states changed by the call.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| entity_id | Yes | Full climate entity ID to change, e.g. 'climate.living_room'. | |
| hvac_mode | Yes | Target mode: one of heat, cool, auto, off, fan_only, dry. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |