mirror of
https://github.com/home-assistant/frontend.git
synced 2025-04-24 21:37:21 +00:00
Allow falsey values for attribute value in a picture-elements card element. (#8943)
This commit is contained in:
parent
9bc2ab29a1
commit
b398727413
@ -57,7 +57,7 @@ class HuiStateLabelElement extends LitElement implements LovelaceElement {
|
||||
|
||||
if (
|
||||
this._config.attribute &&
|
||||
!stateObj.attributes[this._config.attribute]
|
||||
!(this._config.attribute in stateObj.attributes)
|
||||
) {
|
||||
return html`
|
||||
<hui-warning-element
|
||||
|
Loading…
x
Reference in New Issue
Block a user