diff --git a/function/__init__.py b/function/__init__.py index d5fb3b0..1e95c20 100644 --- a/function/__init__.py +++ b/function/__init__.py @@ -62,16 +62,16 @@ class all_functions(object): def init_off_functionality(self): ##### TEMPORARY ################################################################################################################### - # Off Buttons - self.gui_button_all_off = devices.nodered_gui_button(self.mqtt_client, "gui/all/common/off/button") - self.gui_button_gfw_off = devices.nodered_gui_button(self.mqtt_client, "gui/gfw/common/off/button") - self.gui_button_ffw_off = devices.nodered_gui_button(self.mqtt_client, "gui/ffw/common/off/button") - self.gui_button_ffe_off = devices.nodered_gui_button(self.mqtt_client, "gui/ffe/common/off/button") - # - self.gui_button_all_off.add_callback(devices.nodered_gui_button.KEY_STATE, True, self.all_off) - self.gui_button_gfw_off.add_callback(devices.nodered_gui_button.KEY_STATE, True, self.gfw_off) - self.gui_button_ffw_off.add_callback(devices.nodered_gui_button.KEY_STATE, True, self.ffw_off) - self.gui_button_ffe_off.add_callback(devices.nodered_gui_button.KEY_STATE, True, self.ffe_off) + # # Off Buttons + # self.gui_button_all_off = devices.nodered_gui_button(self.mqtt_client, "gui/all/common/off/button") + # self.gui_button_gfw_off = devices.nodered_gui_button(self.mqtt_client, "gui/gfw/common/off/button") + # self.gui_button_ffw_off = devices.nodered_gui_button(self.mqtt_client, "gui/ffw/common/off/button") + # self.gui_button_ffe_off = devices.nodered_gui_button(self.mqtt_client, "gui/ffe/common/off/button") + # # + # self.gui_button_all_off.add_callback(devices.nodered_gui_button.KEY_STATE, True, self.all_off) + # self.gui_button_gfw_off.add_callback(devices.nodered_gui_button.KEY_STATE, True, self.gfw_off) + # self.gui_button_ffw_off.add_callback(devices.nodered_gui_button.KEY_STATE, True, self.ffw_off) + # self.gui_button_ffe_off.add_callback(devices.nodered_gui_button.KEY_STATE, True, self.ffe_off) ##### TEMPORARY ################################################################################################################### # ALL OFF - Long push stairway