This action will change the color of a light bulb. API endpoint slug kasa.change_color Filter code method Kasa.changeColor.skip(string?: reason) Runtime method runAction("kasa.change_color", {})
Action fields Label Device Slug device Required true Can have default value false Label Color Slug color Required true Can have default value true Filter code method Kasa.changeColor.setColor(string: color) Label Brightness Helper text Choose a brightness Slug brightness Required false Can have default value true Filter code method Kasa.changeColor.setBrightness(string: brightness) 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.changeColor.setTransitionDuration(string: transitionDuration) Label Advanced options Helper text Provide custom options here. For example : "color: #ffff00; brightness: 50; transition_duration: 3000” for yellow at 50% brightness, 3 seconds transition duration. Slug advanced_options Required false Can have default value true Filter code method Kasa.changeColor.setAdvancedOptions(string: advancedOptions)