A beginner's guide
Explore Plans
Mobile menu Close menu
FreedomproFreedompro

Lightbulb

This action will turn on or off a lightbulb and set its brightness, saturation and colour.

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 turn on or off a lightbulb and set its brightness, saturation and colour.
API endpoint slug
freedompro.lightbulb
Filter code method
Freedompro.lightbulb.skip(string?: reason)
Runtime method
runAction("freedompro.lightbulb", {})

Action fields

Uid Dropdown list

Label
Name
Slug
uid
Required
true
Can have default value
false

On Dropdown list

Label
On
Slug
on
Required
true
Can have default value
true
Filter code method
Freedompro.lightbulb.setOn(string: on)

Brightness Dropdown list

Label
Brightness
Helper text
Set the brightness value. 20% very dimmed, 100% full power.
Slug
brightness
Required
false
Can have default value
true
Filter code method
Freedompro.lightbulb.setBrightness(string: brightness)

Saturation Dropdown list

Label
Saturation
Helper text
Set the saturation value. 20% few saturation, 100% full saturation.
Slug
saturation
Required
false
Can have default value
true
Filter code method
Freedompro.lightbulb.setSaturation(string: saturation)

Hue Dropdown list

Label
Hue
Helper text
Set the light colour. Choose between red, green or blue.
Slug
hue
Required
false
Can have default value
true
Filter code method
Freedompro.lightbulb.setHue(string: hue)