From ed2e100c5967ab2f8b543aa8fb8cde43cfe5df91 Mon Sep 17 00:00:00 2001 From: David Mulcahey Date: Sun, 11 Aug 2024 16:52:12 -0400 Subject: [PATCH] docstring --- zigpy/quirks/v2/__init__.py | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/zigpy/quirks/v2/__init__.py b/zigpy/quirks/v2/__init__.py index 4051923ca..7c929e140 100644 --- a/zigpy/quirks/v2/__init__.py +++ b/zigpy/quirks/v2/__init__.py @@ -594,9 +594,10 @@ def replace_cluster_occurrences( replacement_cluster_class should be a subclass of Cluster or CustomCluster and will be used to create a new cluster instance to replace the existing cluster. - If cluster_id is provided, it will be used as the cluster_id for the cluster to - be removed. If cluster_id is not provided, the cluster_id of the replacement - cluster will be used. + replace_server_instances and replace_client_instances control the cluster types + that will be replaced. If replace_server_instances is True, all server instances + of the cluster will be replaced. If replace_client_instances is True, all client + instances of the cluster will be replaced. """ types = [] if replace_server_instances: