def METHOD_NAME(self, event):
    self._set_color_setter_boolean()
    if self.is_color_setter_running:
        return
    button = event["button"]
    if button == self.button_up:
        self._set_color_temperature(+1)
    elif button == self.button_down:
        self._set_color_temperature(-1)
    elif button == self.button_toggle:
        self._set_color_temperature()
    else:
        self.py3.prevent_refresh()