mirror of
https://github.com/home-assistant/frontend.git
synced 2025-07-28 19:56:42 +00:00
picture-glance: check for entity state change
This commit is contained in:
parent
c74793b1d5
commit
be4e45c22c
@ -95,6 +95,15 @@ class HuiPictureGlanceCard extends LitElement implements LovelaceCard {
|
||||
return true;
|
||||
}
|
||||
|
||||
if (
|
||||
this._config &&
|
||||
this._config.entity &&
|
||||
oldHass.states[this._config.entity] !==
|
||||
this.hass!.states[this._config.entity]
|
||||
) {
|
||||
return true;
|
||||
}
|
||||
|
||||
if (this._entitiesDialog) {
|
||||
for (const entity of this._entitiesDialog) {
|
||||
if (
|
||||
|
Loading…
x
Reference in New Issue
Block a user