pass
self.state_changed(new_state)
+ self.doorname = doorname
def state_changed(self, new_state):
+ print "xmpp state change detected for %s from %i to %i" % (self.doorname, self.state, newstate)
self.state = new_state
# look up the dictionary object for the current state, then construct
# a presence object using that as a keyword argument