Fix no disabled capabilities in SmartThings (#139860)

Fix no disabled capabilities
This commit is contained in:
Joost Lekkerkerker 2025-03-05 18:41:21 +01:00 committed by Franck Nijhof
parent ed088aa72f
commit 98e317dd55
No known key found for this signature in database
GPG Key ID: D62583BA8AB11CA3

View File

@ -174,6 +174,7 @@ def process_status(
list[Capability | str],
disabled_capabilities_capability[Attribute.DISABLED_CAPABILITIES].value,
)
if disabled_capabilities is not None:
for capability in disabled_capabilities:
# We still need to make sure the climate entity can work without this capability
if (