def __init__(self, urn, conn): Node.__init__(self, urn, conn) self.state['capabilities'].update({ 'on': { 'type': 'boolean', 'access': 'rw' }, 'manufacturer': { 'type': 'string' } }) self.state.update({'on': True, 'manufacturer': 'Bulbs, inc.'})
def __init__(self, urn, conn): Node.__init__(self, urn, conn) threading.Thread.__init__(self)
def __init__(self, urn, conn): Node.__init__(self, urn, conn) self.state['capabilities'].update({'open': {'type': 'boolean'}}) self.state.update({'open': True})
def __init__(self, urn, conn): Node.__init__(self, urn, conn) self.state['capabilities'].update({ 't': { 'type': 'float' }}) self.state.update({'t': 25.0})
def __init__(self, urn, conn): Node.__init__(self, urn, conn) self.state['capabilities'].update({'t': {'type': 'float'}}) self.state.update({'t': 25.0})
def __init__(self, urn, conn): Node.__init__(self, urn, conn) self.state['capabilities'].update({ 'open': { 'type': 'boolean' }}) self.state.update({'open': True})
def __init__(self, urn, conn): Node.__init__(self, urn, conn) self.state['capabilities'].update({ 'on': { 'type': 'boolean', 'access':'rw'}, 'manufacturer': { 'type': 'string'}}) self.state.update({'on': True, 'manufacturer': 'Bulbs, inc.'})