Skip to content

Commit

Permalink
Ensure local cluster object is used to detect summation cal (openhab#761
Browse files Browse the repository at this point in the history
)

Signed-off-by: Chris Jackson <chris@cd-jackson.com>
  • Loading branch information
cdjackson authored and Pierre Gaufillet committed Sep 7, 2023
1 parent d2f914a commit 725e65a
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -165,7 +165,7 @@ public void attributeUpdated(ZclAttribute attribute, Object val) {
}
}

private void determineDivisorAndMultiplier(ZclMeteringCluster serverClusterMeasurement) {
private void determineDivisorAndMultiplier(ZclMeteringCluster clusterMetering) {
ZclAttribute divisorAttribute = clusterMetering.getAttribute(ZclMeteringCluster.ATTR_DIVISOR);
ZclAttribute multiplierAttribute = clusterMetering.getAttribute(ZclMeteringCluster.ATTR_MULTIPLIER);

Expand Down

0 comments on commit 725e65a

Please sign in to comment.