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
Label
Device
Slug
device
Required
true
Can have default value
false
Label
Color Temperature
Slug
color_temperature
Required
false
Can have default value
true
Filter code method
Kasa.changeColorTemp.setColor Temperature(string: color_temperature)
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)
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.setTransition Duration(string: transition_duration)
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.setAdvanced Options(string: advanced_options)