def METHOD_NAME(self, value, *args):
    if value == 0:
        if self.initialized:
            self.emit("hutchTrigger", (1,))
    elif value == 1 and self.initialized:
        self.emit("hutchTrigger", (0,))
    self.hutch_opened = 1 - value
    self.initialized = True
    if self._enabled:
        self.macro(self.hutch_opened)