View source: R/set_light_brightness.R
hue_set_light_brightness | R Documentation |
Set brightness of light
hue_set_light_brightness(id, brightness, by = 10)
id |
If numeric, numeric id of light. If character, name of light. You can check id and names with |
brightness |
A numeric value, or one of either "brighter" (or "+") or "darker" (or "-"). The highest value is 254, the lowest 1. |
by |
Numeric, defaults to 10. Ignored if brightness is numeric. Otherwise determines the size of the increment/decrement. |
Silently returns http response from the bridge, but mostly used for its side effects.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.