Skip to content

Commit

Permalink
fix syntax
Browse files Browse the repository at this point in the history
  • Loading branch information
pipiche38 committed Jan 5, 2025
1 parent efe279a commit 0e2cc88
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion DevicesModules/custom_zlinky.py
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down

0 comments on commit 0e2cc88

Please sign in to comment.