off: off

Description Usage Arguments Value

View source: R/lifx-cloud.R

Description

power lights off with a fade duration

Usage

1
off(selector = "all", duration = 1)

Arguments

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.

duration

the length of the effect

Value

httr response object


cboettig/lifxr documentation built on May 12, 2017, 12:07 a.m.