Description Usage Arguments Examples
Display a breathe effect
1 2 3 |
color |
a string describing the desired color; see examples. |
from_color |
Same syntax as color, defaults to current color (of first bulb in selection) |
period |
time in seconds for the cycle to take place |
cycles |
number of cycles to perform |
persist |
should the color persist after the effect? default is FALSE (returns to original color) |
peak |
when in the cycle should the color be at it's maximum intensity? |
selector |
a string in format '[type]:[value]', where type can be 'all', 'id', 'label', 'group', 'group_id', 'location', 'location_id', 'scene_id', and value is what you want to target. The default is 'all', which needs no value argument. |
power_on |
should the light be powered on if it is off? (FALSE just leaves light off) |
1 2 3 4 | ## Not run:
breathe("purple", "blue")
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.