We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
recompute_capabilities
1 parent 359450e commit 52544c6Copy full SHA for 52544c6
zha/application/platforms/binary_sensor/__init__.py
@@ -75,6 +75,7 @@ def __init__(
75
self._cluster_handler = cluster_handlers[0]
76
super().__init__(cluster_handlers, endpoint, device, **kwargs)
77
self._state: bool = self.is_on
78
+ self.recompute_capabilities()
79
80
def on_add(self) -> None:
81
"""Run when entity is added."""
0 commit comments