Skip to content

Domain Reference

HOS organizes devices into five domains. Each domain defines a set of device types, standard state fields, and commands.

For the full list of deviceType values, tag conventions, and property schemas, see Entity & Type Reference.


Lighting

Device Types

  • light — Smart bulb, LED strip
  • switch — On/off switch (no dimming)
  • dimmer — Dimmable switch/controller

State Fields

FieldTypeDescription
powerbooleanWhether the light is on or off
brightnessnumberBrightness level (0-100)
colorstringColor value (hex string, e.g. "#FF0000")
colorTemperaturenumberColor temperature in Kelvin

Commands

  • turn_on
  • turn_off
  • set_brightness
  • set_color
  • set_color_temperature

AV/Media

Device Types

  • tv — Television
  • receiver — Audio/video receiver
  • speaker — Smart speaker, soundbar
  • media_player — Streaming device, set-top box

State Fields

FieldTypeDescription
powerbooleanWhether the device is on or off
volumenumberVolume level (0-100)
playbackstringPlayback state: "playing", "paused", "stopped"
titlestringCurrently playing media title
artiststringCurrently playing artist
trackstringCurrently playing track name

Commands

  • turn_on
  • turn_off
  • set_volume
  • mute
  • unmute
  • play
  • pause
  • stop
  • set_input

Climate

Device Types

  • thermostat — Temperature controller
  • hvac — HVAC system
  • fan — Fan, ventilation

State Fields

FieldTypeDescription
powerbooleanWhether the system is on or off
temperaturenumberCurrent temperature reading
targetTemperaturenumberDesired temperature setpoint
modestringOperating mode: "heat", "cool", "auto", "off"
humiditynumberCurrent humidity percentage

Commands

  • turn_on
  • turn_off
  • set_temperature
  • set_mode
  • set_fan_speed

Security

Device Types

  • lock — Door lock, smart lock
  • sensor — Motion sensor, door/window sensor
  • camera — Security camera
  • alarm — Alarm panel

State Fields

FieldTypeDescription
lockedbooleanWhether the lock is engaged
armedbooleanWhether the alarm/sensor is armed
triggeredbooleanWhether the sensor has been triggered
batterynumberBattery level percentage (0-100)

Commands

  • lock
  • unlock
  • arm
  • disarm

Robot Vacuums

Device Types

  • robot_vacuum — Robot vacuum cleaner

State Fields

FieldTypeDescription
statusstringCurrent state: "cleaning", "docked", "returning", "error"
batterynumberBattery level percentage (0-100)
errorCodestringError code if status is "error"

Commands

  • start
  • stop
  • dock
  • find

What's Next