Move attributes down in more info person and timer (#9368)

This commit is contained in:
Bram Kragten 2021-06-05 12:52:27 +02:00 committed by GitHub
parent 635a027a8e
commit c2792a28ba
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 10 additions and 10 deletions

View File

@ -23,11 +23,6 @@ class MoreInfoPerson extends LitElement {
} }
return html` return html`
<ha-attributes
.hass=${this.hass}
.stateObj=${this.stateObj}
extra-filters="id,user_id,editable"
></ha-attributes>
${this.stateObj.attributes.latitude && this.stateObj.attributes.longitude ${this.stateObj.attributes.latitude && this.stateObj.attributes.longitude
? html` ? html`
<ha-map <ha-map
@ -51,6 +46,11 @@ class MoreInfoPerson extends LitElement {
</div> </div>
` `
: ""} : ""}
<ha-attributes
.hass=${this.hass}
.stateObj=${this.stateObj}
extra-filters="id,user_id,editable"
></ha-attributes>
`; `;
} }

View File

@ -17,11 +17,6 @@ class MoreInfoTimer extends LitElement {
} }
return html` return html`
<ha-attributes
.hass=${this.hass}
.stateObj=${this.stateObj}
extra-filters="remaining"
></ha-attributes>
<div class="actions"> <div class="actions">
${this.stateObj.state === "idle" || this.stateObj.state === "paused" ${this.stateObj.state === "idle" || this.stateObj.state === "paused"
? html` ? html`
@ -57,6 +52,11 @@ class MoreInfoTimer extends LitElement {
` `
: ""} : ""}
</div> </div>
<ha-attributes
.hass=${this.hass}
.stateObj=${this.stateObj}
extra-filters="remaining"
></ha-attributes>
`; `;
} }