Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions src/components/ha-label-badge.ts
Original file line number Diff line number Diff line change
Expand Up @@ -153,6 +153,7 @@ class HaLabelBadge extends LitElement {
}

protected updated(changedProperties: PropertyValues): void {
super.updated(changedProperties);
if (changedProperties.has("image")) {
this.shadowRoot!.getElementById("badge")!.style.backgroundImage = this
.image
Expand Down
1 change: 1 addition & 0 deletions src/panels/config/cloud/cloud-exposed-entities.ts
Original file line number Diff line number Diff line change
Expand Up @@ -70,6 +70,7 @@ export class CloudExposedEntities extends LitElement {
}

protected updated(changedProperties: PropertyValues) {
super.updated(changedProperties);
if (
changedProperties.has("filter") &&
changedProperties.get("filter") !== this.filter
Expand Down
1 change: 1 addition & 0 deletions src/panels/config/cloud/cloud-webhooks.ts
Original file line number Diff line number Diff line change
Expand Up @@ -79,6 +79,7 @@ export class CloudWebhooks extends LitElement {
}

protected updated(changedProps: PropertyValues) {
super.updated(changedProps);
if (changedProps.has("cloudStatus") && this.cloudStatus) {
this._cloudHooks = this.cloudStatus.prefs.cloudhooks || {};
}
Expand Down
3 changes: 2 additions & 1 deletion src/panels/lovelace/cards/hui-entities-card.ts
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,8 @@ class HuiEntitiesCard extends hassLocalizeLitMixin(LitElement)
this._configEntities = entities;
}

protected updated(_changedProperties: PropertyValues): void {
protected updated(changedProperties: PropertyValues): void {
super.updated(changedProperties);
if (this._hass && this._config) {
applyThemesOnElement(this, this._hass.themes, this._config.theme);
}
Expand Down
1 change: 1 addition & 0 deletions src/panels/lovelace/cards/hui-entity-button-card.ts
Original file line number Diff line number Diff line change
Expand Up @@ -116,6 +116,7 @@ class HuiEntityButtonCard extends hassLocalizeLitMixin(LitElement)
}

protected updated(changedProps: PropertyValues): void {
super.updated(changedProps);
if (!this._config || !this.hass) {
return;
}
Expand Down
1 change: 1 addition & 0 deletions src/panels/lovelace/cards/hui-gauge-card.ts
Original file line number Diff line number Diff line change
Expand Up @@ -151,6 +151,7 @@ class HuiGaugeCard extends LitElement implements LovelaceCard {
}

protected updated(changedProps: PropertyValues): void {
super.updated(changedProps);
if (!this._config || !this.hass) {
return;
}
Expand Down
1 change: 1 addition & 0 deletions src/panels/lovelace/cards/hui-glance-card.ts
Original file line number Diff line number Diff line change
Expand Up @@ -135,6 +135,7 @@ export class HuiGlanceCard extends hassLocalizeLitMixin(LitElement)
}

protected updated(changedProperties: PropertyValues): void {
super.updated(changedProperties);
if (!this._config || !this.hass) {
return;
}
Expand Down
1 change: 1 addition & 0 deletions src/panels/lovelace/cards/hui-light-card.ts
Original file line number Diff line number Diff line change
Expand Up @@ -162,6 +162,7 @@ export class HuiLightCard extends hassLocalizeLitMixin(LitElement)
}

protected updated(changedProps: PropertyValues): void {
super.updated(changedProps);
if (!this._config || !this.hass || !this._jQuery) {
return;
}
Expand Down
1 change: 1 addition & 0 deletions src/panels/lovelace/cards/hui-sensor-card.ts
Original file line number Diff line number Diff line change
Expand Up @@ -274,6 +274,7 @@ class HuiSensorCard extends LitElement implements LovelaceCard {
}

protected updated(changedProps: PropertyValues) {
super.updated(changedProps);
if (!this._config || this._config.graph !== "line" || !this.hass) {
return;
}
Expand Down
1 change: 1 addition & 0 deletions src/panels/lovelace/cards/hui-thermostat-card.ts
Original file line number Diff line number Diff line change
Expand Up @@ -152,6 +152,7 @@ export class HuiThermostatCard extends hassLocalizeLitMixin(LitElement)
}

protected updated(changedProps: PropertyValues): void {
super.updated(changedProps);
if (!this._config || !this.hass || !changedProps.has("hass")) {
return;
}
Expand Down
1 change: 1 addition & 0 deletions src/panels/lovelace/components/hui-entities-toggle.ts
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,7 @@ class HuiEntitiesToggle extends LitElement {
}

public updated(changedProperties: PropertyValues) {
super.updated(changedProperties);
if (changedProperties.has("entities")) {
this._toggleEntities = this.entities!.filter(
(entityId) =>
Expand Down
1 change: 1 addition & 0 deletions src/panels/lovelace/components/hui-timestamp-display.ts
Original file line number Diff line number Diff line change
Expand Up @@ -78,6 +78,7 @@ class HuiTimestampDisplay extends hassLocalizeLitMixin(LitElement) {
}

protected updated(changedProperties: PropertyValues) {
super.updated(changedProperties);
if (!changedProperties.has("format") || !this._connected) {
return;
}
Expand Down
1 change: 1 addition & 0 deletions src/panels/lovelace/ha-panel-lovelace.ts
Original file line number Diff line number Diff line change
Expand Up @@ -105,6 +105,7 @@ class LovelacePanel extends hassLocalizeLitMixin(LitElement) {
}

public updated(changedProps: PropertyValues): void {
super.updated(changedProps);
if (changedProps.has("narrow") || changedProps.has("showMenu")) {
this._updateColumns();
}
Expand Down