diff --git a/function/__init__.py b/function/__init__.py index 8c7a3ba..c51b8b3 100644 --- a/function/__init__.py +++ b/function/__init__.py @@ -90,5 +90,5 @@ class all_functions(room_collection): def gfw_dirk_input_1(self, device, key, data): if self.last_gfw_dirk_input_1 is not None: if self.last_gfw_dirk_input_1 != data: - self.gfw.floor.main_light_shelly.toggle_output_0_mcb(device, key, data) + self.gfw.floor.switch_main_light.toggle_output_0_mcb(device, key, data) self.last_gfw_dirk_input_1 = data