AgentSkillsCN

smart-home

控制智能家居设备,包括灯光、门锁与电视。

SKILL.md
--- frontmatter
name: smart-home
description: Control smart home devices including lights, doors, and TV

Smart Home Skill

Use this skill to check status and control smart home devices.

Injected Functions

  • get_status(device_id=None): Get status of a device, or all devices if no ID
  • set_light(device_id, state, brightness=100): Turn a light on/off with brightness (0-100)
  • set_door(device_id, state): Lock or unlock a door
  • set_tv(state, channel=None, volume=None): Control TV power, channel, and volume

Device IDs

  • Lights: living_room_light, bedroom_light, kitchen_light
  • Doors: front_door, garage_door
  • TV: tv