set_ac
Control an AC: turn on/off, set mode (auto, cool, heat, etc.), adjust setpoint, and set fan speed where supported.
Instructions
Control an AC.
on=True turns on (resumes last non-zero SystemMode, defaulting to Cool=3); on=False turns off.
mode (overrides on): 0=Off, 1=Auto, 3=Cool, 4=Heat, 5=EmergencyHeat, 6=Precooling, 7=FanOnly, 8=Dry, 9=Sleep.
setpoint: in °C (e.g. 26.0); routed to the heating or cooling setpoint by mode.
fan_speed (0-100): forwarded to logical-bridge ACs that support it; rejected on physical Matter ACs.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | ||
| on | No | ||
| mode | No | ||
| setpoint | No | ||
| fan_speed | No |