mirror of
https://github.com/home-assistant/frontend.git
synced 2025-07-23 17:26:42 +00:00
Move attributes down in more info person and timer (#9368)
This commit is contained in:
parent
635a027a8e
commit
c2792a28ba
@ -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>
|
||||||
`;
|
`;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -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>
|
||||||
`;
|
`;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user