feat: add laundry-family capabilities; dishwasher golden green

This commit is contained in:
Marc Billow committed 2026-06-30 16:32:37 -05:00
1 parent d720b29a67
commit 23b4cdc315
6 files changed
+155 -3

No files matched your search

+13
View File
@@ -0,0 +1,13 @@
"""Global CAPABILITIES registry: href -> Capability.
Built from the full list of Capability objects in the capabilities package.
Consumed by discover() at connection time to bind device resources to entities.
Note: each href must appear in at most one Capability across all modules.
If two capabilities share an href, the later one in the scan order wins —
this is a bug, not a feature. Add all entities for a given href to the same
Capability object instead.
"""
from .capabilities import ALL
CAPABILITIES: dict = {cap.href: cap for cap in ALL}