perf: Various rendering performance improvements (#2359)

This commit is contained in:
Dermot Duffy
2026-02-19 21:25:33 -08:00
committed by GitHub
parent 0a67df9a25
commit 46868ce08e
10 changed files with 54 additions and 19 deletions
+2 -1
View File
@@ -20,6 +20,7 @@ import { DeviceRegistryManager } from '../ha/registry/device/index.js';
import { ResolvedMediaCache } from '../ha/resolved-media.js';
import { HomeAssistant } from '../ha/types.js';
import viewsStyle from '../scss/views.scss';
import { contentsChanged } from '../utils/basic.js';
import './surround.js';
// As a special case: The diagnostics view is not dynamically loaded in case
@@ -61,7 +62,7 @@ export class AdvancedCameraCardViews extends LitElement {
@property({ attribute: false })
public microphoneState?: MicrophoneState;
@property({ attribute: false })
@property({ attribute: false, hasChanged: contentsChanged })
public triggeredCameraIDs?: Set<string>;
@property({ attribute: false })