Actions39
- Account Actions
- Auth Actions
- Bluetooth Actions
- Conversation Actions
- Device Actions
- Interaction Actions
- List Actions
- Notification Actions
- Routine Actions
- Smarthome Actions
Smarthome → Control Device
AI-generatedSummary
Control an Alexa smart home device's state by sending commands like turn on/off, brightness, color, or temperature.
Inputs
- entity (required) — Choose a smart home entity from the list, or specify an ID using an expression.
- action (required) — The command to send: turnOn, turnOff, setBrightness, setColor, or setTargetTemperature.
- actionValue — Required for brightness (0-100), color (hex), or temperature (°C). Optional for turnOn/turnOff.
Output shape
No body — success/failure only
Returns an empty response on success. Errors are thrown if the entity is not found or the action requires a value that is missing.
Examples
Example 1: Turn on a smart light
Entity: Smart Light (ID), Action: turnOn
Example 2: Adjust brightness to 50%
Entity: Smart Bulb (ID), Action: setBrightness, Value: 50
Example 3: Set thermostat to 22°C
Entity: Thermostat (ID), Action: setTargetTemperature, Value: 22