Public Member Functions | Public Attributes | Private Member Functions | Private Attributes
rocon_python_hue.phue.Group Class Reference
Inheritance diagram for rocon_python_hue.phue.Group:
Inheritance graph
[legend]

List of all members.

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

Detailed Description

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

Definition at line 280 of file phue.py.


Constructor & Destructor Documentation

def rocon_python_hue.phue.Group.__init__ (   self,
  bridge,
  group_id 
)

Reimplemented from rocon_python_hue.phue.Light.

Definition at line 296 of file phue.py.


Member Function Documentation

def rocon_python_hue.phue.Group._get (   self,
  args,
  kwargs 
) [private]

Reimplemented from rocon_python_hue.phue.Light.

Definition at line 319 of file phue.py.

def rocon_python_hue.phue.Group._set (   self,
  args,
  kwargs 
) [private]

Reimplemented from rocon_python_hue.phue.Light.

Definition at line 322 of file phue.py.

Return a list of all lights in this group

Definition at line 352 of file phue.py.

def rocon_python_hue.phue.Group.lights (   self,
  value 
)
Change the lights that are in this group

Definition at line 359 of file phue.py.

Get or set the name of the light group [string]

Reimplemented from rocon_python_hue.phue.Light.

Definition at line 335 of file phue.py.

def rocon_python_hue.phue.Group.name (   self,
  value 
)

Reimplemented from rocon_python_hue.phue.Light.

Definition at line 344 of file phue.py.


Member Data Documentation

Reimplemented from rocon_python_hue.phue.Light.

Definition at line 335 of file phue.py.

Reimplemented from rocon_python_hue.phue.Light.

Definition at line 322 of file phue.py.

Definition at line 296 of file phue.py.


The documentation for this class was generated from the following file:


rocon_python_hue
Author(s):
autogenerated on Thu Jun 6 2019 17:58:50