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.
1 parent 2be434b commit 4d4732dCopy full SHA for 4d4732d
zha/application/platforms/switch.py
@@ -140,9 +140,6 @@ def _is_supported(self) -> bool:
140
if (
141
self._attribute_name
142
in self._on_off_cluster_handler.cluster.unsupported_attributes
143
- or self._attribute_name
144
- not in self._on_off_cluster_handler.cluster.attributes_by_name
145
- or self._on_off_cluster_handler.cluster.get(self._attribute_name) is None
146
):
147
_LOGGER.debug(
148
"%s is not supported - skipping %s entity creation",
0 commit comments