Skip to content

Commit

Permalink
do not overwrite the Attribute when calling is_cluster_specific_config
Browse files Browse the repository at this point in the history
  • Loading branch information
pipiche38 committed Oct 18, 2023
1 parent 2ecccc7 commit 93382be
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Modules/readZclClusters.py
Original file line number Diff line number Diff line change
Expand Up @@ -311,7 +311,7 @@ def is_cluster_zcl_config_available( self, nwkid, ep, cluster, attribute=None):
if is_manufacturer_specific_cluster( self, cluster):
return True

if is_cluster_specific_config(self, _get_model_name( self, nwkid), ep, cluster, attribute=None):
if is_cluster_specific_config(self, _get_model_name( self, nwkid), ep, cluster, attribute):
return True

return is_generic_zcl_cluster( self, cluster, attribute)
Expand Down

0 comments on commit 93382be

Please sign in to comment.