Explore Plans
Mobile menu Close menu
TP-Link KasaTP-Link Kasa

Change color temperature

This action will change the color temperature of a light bulb.

Developer info

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)