Skip to content
Merged
Changes from 2 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
2 changes: 1 addition & 1 deletion src/panels/lovelace/elements/hui-state-label-element.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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
Comment thread
boralyl marked this conversation as resolved.
Outdated
) {
return html`
<hui-warning-element
Expand Down