power: power

Description Usage Arguments Details Value

Description

power lights on or off with a fade duration

Usage

1
power(state = c("on", "off"), selector = "all", duration = 1)

Arguments

state

on or off?

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

Details

Not exported because it conflicts with stats::power. see on() and off()

Value

httr response object


cboettig/lifxr documentation built on May 13, 2019, 2:08 p.m.