Skip to content

Commit 74b3706

Browse files
committed
Restore integration-hidden DC controls
1 parent c6b8899 commit 74b3706

1 file changed

Lines changed: 6 additions & 0 deletions

File tree

custom_components/sigen/common.py

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -156,6 +156,12 @@ def get_entity_register_support(
156156
register_support_keys = resolve_register_support_keys(
157157
description, pv_string_idx
158158
)
159+
if not register_support_keys:
160+
# Explicitly dependency-free entities are structurally supported. This
161+
# also restores registry entries hidden by an earlier dependency rule;
162+
# their runtime availability is still decided by the entity itself.
163+
return True, register_support_keys
164+
159165
support_states = tuple(
160166
hub.get_register_support(
161167
support_device_type, support_device_name, register_name

0 commit comments

Comments
 (0)