About this action
Triggers, queries, and actions are the building blocks of Applets. Triggers tell an Applet to start, queries ask a question, and actions are its end result.
Developer info
- Description
- This action will change the color temperature of a light bulb.
- API endpoint slug
- kasa.change_color_temp
- Filter code method
- Kasa.changeColorTemp.skip(string?: reason)
- Runtime method
- runAction("kasa.change_color_temp", {})
Action fields
Device Dropdown list
- Label
- Device
- Slug
- device
- Required
- true
- Can have default value
- false
Color temperature Dropdown list
- Label
- Color Temperature
- Slug
- color_temperature
- Required
- false
- Can have default value
- true
- Filter code method
- Kasa.changeColorTemp.setColorTemperature(string: colorTemperature)
Kelvin Dropdown list
- Label
- Kelvin
- Helper text
- If set, kelvin value will override the color temperature.
- Slug
- kelvin
- Required
- false
- Can have default value
- true
- Filter code method
- Kasa.changeColorTemp.setKelvin(string: kelvin)
Transition duration Dropdown list
- Label
- Transition duration
- Helper text
- How long should it take for the lights to transition between colors.
- Slug
- transition_duration
- Required
- false
- Can have default value
- true
- Filter code method
- Kasa.changeColorTemp.setTransitionDuration(string: transitionDuration)
Advanced options Text input > Other
- Label
- Advanced options
- Helper text
- Provide custom options here. For example : "color_temperature: cool; transition_duration: 3000” for cool and 3 seconds transition duration or “kelvin: 5000; transition_duration: 2000” for temperature of 5000K and 2 seconds transition duration
- Slug
- advanced_options
- Required
- false
- Can have default value
- true
- Filter code method
- Kasa.changeColorTemp.setAdvancedOptions(string: advancedOptions)