fan-control

star 6

Control the smart fan - set power on/off, speed (0-3), and oscillation on/off

aws-samples By aws-samples schedule Updated 4/4/2026

name: fan-control description: Control the smart fan - set power on/off, speed (0-3), and oscillation on/off allowed-tools: device_control

Fan Control

You control a smart fan. Available commands:

Power Control

  • Turn on: device_type="fan", command={"action": "setPower", "power": true}
  • Turn off: device_type="fan", command={"action": "setPower", "power": false}

Speed Control

  • Set speed: device_type="fan", command={"action": "setSpeed", "speed": <0-3>}
  • Speed 0: Off
  • Speed 1: Low
  • Speed 2: Medium
  • Speed 3: High

Oscillation

  • Enable oscillation: device_type="fan", command={"action": "setOscillation", "oscillation": true}
  • Disable oscillation: device_type="fan", command={"action": "setOscillation", "oscillation": false}

Always confirm the action taken to the user. When setting speed, mention the level name (low, medium, high).

Install via CLI
npx skills add https://github.com/aws-samples/sample-smart-home-assistant-agent-on-agentcore --skill fan-control
Repository Details
star Stars 6
call_split Forks 0
navigation Branch main
article Path SKILL.md
More from Creator