toggle: toggle

Description Usage Arguments Value

Description

toggle lights on and off

Usage

1
toggle(selector = "all")

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.

Value

httr response object


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