Skip to content

Commit

Permalink
refactor
Browse files Browse the repository at this point in the history
  • Loading branch information
pipiche38 committed Jan 14, 2025
1 parent 99e0926 commit 4282715
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions Modules/readAttributes.py
Original file line number Diff line number Diff line change
Expand Up @@ -1345,20 +1345,20 @@ def ReadAttributeRequest_0702_0017(self, key):

# Define the cluster and attribute
cluster_id = "0702"
listAttributes = [0x0017]
attributes_list = [0x0017,]

# Get the list of endpoints for the cluster
endpoints = getListOfEpForCluster(self, key, cluster_id)
for endpoint in endpoints:
self.log.logging(
"ReadAttributes",
"Debug",
f"Requesting InletTemperature (Attribute {listAttributes}) on cluster {cluster_id} for key {key}, EP = {endpoint}.",
f"Requesting InletTemperature (Attribute {attributes_list}) on cluster {cluster_id} for key {key}, EP = {endpoint}.",
nwkid=key
)

# Send the read attribute request
ReadAttributeReq(self, key, ZIGATE_EP, endpoint, cluster_id, listAttributes, ackIsDisabled=is_ack_tobe_disabled(self, key))
ReadAttributeReq(self, key, ZIGATE_EP, endpoint, cluster_id, attributes_list, ackIsDisabled=is_ack_tobe_disabled(self, key))


def ReadAttributeRequest_0702_multiplier_divisor(self, key):
Expand Down

0 comments on commit 4282715

Please sign in to comment.