
Public Member Functions | |
| def | __init__ |
| def | lights |
| def | lights |
| def | name |
| def | name |
Public Attributes | |
| group_id | |
Private Member Functions | |
| def | _get |
| def | _set |
Private Attributes | |
| _name | |
| _reset_bri_after_on | |
A group of Hue lights, tracked as a group on the bridge
Example:
>>> b = Bridge()
>>> g1 = Group(b, 1)
>>> g1.hue = 50000 # all lights in that group turn blue
>>> g1.on = False # all will turn off
>>> g2 = Group(b, 'Kitchen') # you can also look up groups by name
>>> # will raise a LookupError if the name doesn't match
| def rocon_python_hue.phue.Group.__init__ | ( | self, | |
| bridge, | |||
| group_id | |||
| ) |
Reimplemented from rocon_python_hue.phue.Light.
| def rocon_python_hue.phue.Group._get | ( | self, | |
| args, | |||
| kwargs | |||
| ) | [private] |
Reimplemented from rocon_python_hue.phue.Light.
| def rocon_python_hue.phue.Group._set | ( | self, | |
| args, | |||
| kwargs | |||
| ) | [private] |
Reimplemented from rocon_python_hue.phue.Light.
| def rocon_python_hue.phue.Group.lights | ( | self | ) |
| def rocon_python_hue.phue.Group.lights | ( | self, | |
| value | |||
| ) |
| def rocon_python_hue.phue.Group.name | ( | self | ) |
Get or set the name of the light group [string]
Reimplemented from rocon_python_hue.phue.Light.
| def rocon_python_hue.phue.Group.name | ( | self, | |
| value | |||
| ) |
Reimplemented from rocon_python_hue.phue.Light.
rocon_python_hue::phue.Group::_name [private] |
Reimplemented from rocon_python_hue.phue.Light.
Reimplemented from rocon_python_hue.phue.Light.