mirror of
https://github.com/home-assistant/frontend.git
synced 2025-07-28 11:46:42 +00:00
Fix theme update (#5246)
This commit is contained in:
parent
a3969fe2c8
commit
595d04c922
@ -271,7 +271,12 @@ export class HuiThermostatCard extends LitElement implements LovelaceCard {
|
||||
|
||||
protected updated(changedProps: PropertyValues): void {
|
||||
super.updated(changedProps);
|
||||
if (!this._config || !this.hass || !changedProps.has("hass")) {
|
||||
|
||||
if (
|
||||
!this._config ||
|
||||
!this.hass ||
|
||||
(!changedProps.has("hass") && !changedProps.has("_config"))
|
||||
) {
|
||||
return;
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user