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
+3 -2
View File
@@ -10,14 +10,15 @@ import { customElement, property } from 'lit/decorators.js';
import { IconController } from '../components-lib/icon-controller';
import { HomeAssistant } from '../ha/types';
import iconStyle from '../scss/icon.scss';
import { Icon } from '../types';
import { Icon } from '../types.js';
import { contentsChanged } from '../utils/basic.js';
@customElement('advanced-camera-card-icon')
export class AdvancedCameraCardIcon extends LitElement {
@property({ attribute: false })
public hass?: HomeAssistant;
@property({ attribute: false })
@property({ attribute: false, hasChanged: contentsChanged })
public icon?: Icon;
// Note: This attribute will allow non-active entity state styles (e.g. 'off',