Fix link from input2 dirk to floor light

This commit is contained in:
Dirk Alders 2025-08-28 16:08:52 +02:00
parent 75a29a3c32
commit 1d12ba59b9

View File

@ -90,5 +90,5 @@ class all_functions(room_collection):
def gfw_dirk_input_1(self, device, key, data): 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 is not None:
if self.last_gfw_dirk_input_1 != data: 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 self.last_gfw_dirk_input_1 = data