diff --git a/DevicesModules/custom_zlinky.py b/DevicesModules/custom_zlinky.py index f68549195..ac01c0ae3 100644 --- a/DevicesModules/custom_zlinky.py +++ b/DevicesModules/custom_zlinky.py @@ -100,7 +100,7 @@ def zlinky_set_color_based_on_counter(self, Devices, nwkid, ep, cluster, attribu return # Get previous value to ensure there's a change - previous_value = getAttributeValue(self, nwkid, ep, cluster, attribut, value) + previous_value = getAttributeValue(self, nwkid, ep, cluster, attribut) if value == 0 or previous_value == value: return