lx_effect_off: Turn effects off

Description Usage Arguments Value Examples

View source: R/effects.R

Description

Turn effects off

Usage

1
lx_effect_off(power_off = FALSE, selector = "all", token = lx_get_token())

Arguments

power_off

If TRUE, also turns the light(s) off

selector

'LIFX' api "selector" such as "all", "id:12345", or "location:kitchen". Can be created with lx_selector or written manually (see https://api.developer.lifx.com/docs/selectors

token

API token (see ?lx_save_token). If left empty, the token is retrieved from the environmental variable if available. (see lx_save_token)

Value

an 'httr' response object (see response)

Examples

1
## Not run: lx_effect_off()

lifx documentation built on July 1, 2020, 6:08 p.m.