mirror of
https://github.com/home-assistant/frontend.git
synced 2025-07-23 17:26:42 +00:00
Show vacuum state in more-info dialog for StateVacuumEntity (#12391)
This commit is contained in:
parent
958a1de2fd
commit
70836597e9
@ -119,7 +119,15 @@ class MoreInfoVacuum extends LitElement {
|
|||||||
"ui.dialogs.more_info_control.vacuum.status"
|
"ui.dialogs.more_info_control.vacuum.status"
|
||||||
)}:
|
)}:
|
||||||
</span>
|
</span>
|
||||||
<span><strong>${stateObj.attributes.status}</strong></span>
|
<span>
|
||||||
|
<strong>
|
||||||
|
${stateObj.attributes.status ||
|
||||||
|
this.hass.localize(
|
||||||
|
`component.vacuum.state._.${stateObj.state}`
|
||||||
|
) ||
|
||||||
|
stateObj.state}
|
||||||
|
</strong>
|
||||||
|
</span>
|
||||||
</div>
|
</div>
|
||||||
`
|
`
|
||||||
: ""}
|
: ""}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user