mirror of
https://github.com/Matysh/houseplan-card
synced 2026-09-29 03:09:36 +00:00
fix: support registryless opening entities
Issue: #117 User-Visible: yes
This commit is contained in:
@@ -62,6 +62,18 @@ export const MUTANTS = [
|
||||
replace: 'cuts.push([opening.x, opening.y, opening.x, opening.y]);',
|
||||
}],
|
||||
},
|
||||
{
|
||||
id: 'registryless-opening-requires-registry-row',
|
||||
guard: 'node demo/smoke_registryless_opening.mjs',
|
||||
because: 'возврат требования Entity Registry row снова делает выбранную YAML-сущность '
|
||||
+ 'невидимой в painted frame; smoke обязан доказать contact, lock и frozen-snapshot parity',
|
||||
patches: [{
|
||||
file: 'src/ha-binding-status.ts',
|
||||
find: ' return !!entityId\n && !!projectedHass?.states?.[entityId];',
|
||||
replace: ' return !!entityId\n && !!projectedHass?.entities?.[entityId]\n'
|
||||
+ ' && !!projectedHass?.states?.[entityId];',
|
||||
}],
|
||||
},
|
||||
{
|
||||
id: 'column-shadow-removed',
|
||||
guard: 'node demo/smoke_glow.mjs',
|
||||
|
||||
Reference in New Issue
Block a user