Skip to content

Commit

Permalink
Fix cluster handler edge case not calling on_add() (thanks @dmulcahey
Browse files Browse the repository at this point in the history
…!)
  • Loading branch information
puddly committed Jan 29, 2025
1 parent 8e8ddef commit 0f4faef
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions zha/application/discovery.py
Original file line number Diff line number Diff line change
Expand Up @@ -502,6 +502,8 @@ def handle_on_off_output_cluster_exception(self, endpoint: Endpoint) -> None:
)

cluster_handler = cluster_handler_class(cluster, endpoint)
cluster_handler.on_add()

yield from self.probe_single_cluster(platform, cluster_handler, endpoint)

def discover_multi_entities(
Expand Down

0 comments on commit 0f4faef

Please sign in to comment.