fix: support registryless opening entities

Issue: #117
User-Visible: yes
This commit is contained in:
Sergey Matyunin
2026-08-19 02:12:37 +03:00
parent 9baf533c90
commit 01fe48de00
14 changed files with 283 additions and 32 deletions
+8
View File
@@ -114,6 +114,14 @@ test('opening references use their own availability policy without weakening pla
assert.match(renderAvailability, /isRemovedPlanEntity/);
assert.doesNotMatch(planAvailability, /openingEntityAvailable/);
assert.doesNotMatch(renderAvailability, /renderOpeningEntityAvailable/);
const openingRenderAvailability = methodBody(source, '_renderOpeningEntityAvailable');
assert.match(
openingRenderAvailability,
/renderOpeningEntityAvailable\(this\._renderPlanHass, eid\)/,
'opening render availability receives only the immutable painted-frame projection',
);
assert.doesNotMatch(openingRenderAvailability, /this\.hass\b/);
});
test('lock actuation remains guarded inside the one sanctioned opening-card method', () => {