syslog.syslog(142, "get_status failed: %s" % e)
pass
self.state_changed(new_state)
syslog.syslog(142, "get_status failed: %s" % e)
pass
self.state_changed(new_state)
self.state = new_state
# look up the dictionary object for the current state, then construct
# a presence object using that as a keyword argument
self.state = new_state
# look up the dictionary object for the current state, then construct
# a presence object using that as a keyword argument