Don't re-render the whole card for conditionState.

This commit is contained in:
Dermot Duffy
2022-06-12 17:56:25 -07:00
parent 3ada2daf1d
commit 10c2e746b2
3 changed files with 19 additions and 6 deletions
+2 -2
View File
@@ -156,10 +156,10 @@ export class FrigateCardElements extends LitElement {
public hass?: HomeAssistant;
@property({ attribute: false })
protected elements: PictureElements;
public conditionState?: ConditionState;
@property({ attribute: false })
protected conditionState?: ConditionState;
protected elements: PictureElements;
protected _boundMenuRemoveHandler = this._menuRemoveHandler.bind(this);