lx_list_lights: list available lights

Description Usage Arguments Value

View source: R/list_lights.R

Description

list available lights

Usage

1
lx_list_lights(selector = "all", token = lx_get_token())

Arguments

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

the API response


mabafaba/lifx documentation built on June 8, 2020, 3:46 a.m.