Pre-Built Template Library

Alexa Automated Testing Service for smart home skills provides pre-built test templates for common device testing scenarios. Templates are ready-to-use test plans that you can run as is or customize for your specific device.

Pre-built templates

The following table shows the available pre-built templates and types of devices to use the template to test.

Template name Description Example devices

Brightness Controller

Brightness tests for dimmable lights

Dimmable lights, bulbs

Color Controller

Color control tests for color-changing lights

Color bulbs and light strips

Color Temperature Controller

Color temperature tests for tunable white lights

Tunable white bulbs and lights

Power Controller

Basic on and off tests for smart devices

Lights, bulbs, switches, outlets, fans

Thermostat Heat (Celsius)

Temperature tests in Celsius for heating mode

Smart thermostats

Thermostat Heat (Fahrenheit)

Temperature tests in Fahrenheit for heating mode

Smart thermostats

Thermostat Cool (Celsius)

Temperature tests in Celsius for cooling mode

Smart thermostats

Thermostat Cool (Fahrenheit)

Temperature tests in Fahrenheit for cooling mode

Smart thermostats

Thermostat Auto Mode

Temperature tests for auto mode

Smart thermostats

Brightness Controller

Use the Brightness Controller template if you support the Alexa.BrightnessController interface and your device supports dimming.

This template includes the following test cases with brightness state validations:

  • Turn on device from OFF state
  • Decrease brightness by 25 from 50 to 25 when device is ON
  • Set brightness to 25 percent when device is ON

Color Controller

Use the Color Controller template if you support the Alexa.ColorController interface and your device is a color-changing device.

This template includes the following test cases with color state validations:

  • Set color to red when device is ON
  • Set color to green when device is ON
  • Set color to blue when device is ON

Color Temperature Controller

Use the Color Temperature Controller template if you support the Alexa.ColorTemperatureController interface and users can control the color temperature of your device.

This template includes the following test cases with colorTemperatureInKelvin state validations:

  • Set color temperature to 2200K warm white when device is ON
  • Set color temperature to 7000K daylight when device is ON

Power Controller

Use the Power Controller template if you support the Alexa.PowerController interface and users can turn your device on and off.

This template includes the following test cases with powerState validations:

  • Turn on device from OFF state
  • Turn off device from ON state

Thermostat

Use one or more of the thermostat templates if you support the Alexa.ThermostatController interface and your device includes a thermostat.

These templates include the following test cases with thermostatMode and targetSetpoint state validations:

  • Thermostat Heat (Celsius) template:
    • Set target temperature to 17 degrees Celsius in HEAT mode
    • Increase target temperature by 6 degrees from 10C to 16C in HEAT mode
  • Thermostat Cool (Celsius) template:
    • Set target temperature to 17 degrees Celsius in COOL mode
  • Thermostat Heat (Fahrenheit) template:
    • Set target temperature to 64 degrees Fahrenheit in HEAT mode
  • Thermostat Cool (Fahrenheit) template:
    • Set target temperature to 64 degrees Fahrenheit in COOL mode
  • Thermostat Auto Mode template:
    • Set thermostat to AUTO mode

Was this page helpful?

Last updated: May 01, 2026