From bef0b16090480f79c92ee2c67d55958b793ab537 Mon Sep 17 00:00:00 2001 From: Patrick Pichon Date: Thu, 9 Jan 2025 11:51:39 +0100 Subject: [PATCH] remove un-necessary parameter un zlinky_meter_identification()b signature --- DevicesModules/custom_zlinky.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/DevicesModules/custom_zlinky.py b/DevicesModules/custom_zlinky.py index 0696d1abe..9c12bf593 100644 --- a/DevicesModules/custom_zlinky.py +++ b/DevicesModules/custom_zlinky.py @@ -28,7 +28,7 @@ def zlinky_clusters(self, domoticz_devices, nwkid, ep, cluster, attribut, value) cluster, nwkid, ep, attribut, value), nwkid, ) if cluster == "0b01": - zlinky_meter_identification(self, domoticz_devices, nwkid, ep, cluster, attribut, value) + zlinky_meter_identification(self, nwkid, ep, cluster, attribut, value) elif cluster == "0702": zlinky_cluster_metering(self, domoticz_devices, nwkid, ep, cluster, attribut, value) @@ -40,7 +40,7 @@ def zlinky_clusters(self, domoticz_devices, nwkid, ep, cluster, attribut, value) zlinky_cluster_lixee_private(self, domoticz_devices, nwkid, ep, cluster, attribut, value) -def zlinky_meter_identification(self, domoticz_devices, nwkid, ep, cluster, attribut, value): +def zlinky_meter_identification(self, nwkid, ep, cluster, attribut, value): self.log.logging( "ZLinky", "Debug", "zlinky_meter_identification %s - %s/%s Attribute: %s Value: %s" % ( cluster, nwkid, ep, attribut, value), nwkid, )