mirror of
https://github.com/home-assistant/frontend.git
synced 2025-04-27 23:07:20 +00:00
Merge pull request #9687 from home-assistant/add-description-devices-dialog
Add description to statistic picker in add device dialog
This commit is contained in:
commit
dc6ac668b4
@ -58,6 +58,11 @@ export class DialogEnergyDeviceSettings
|
|||||||
@closed=${this.closeDialog}
|
@closed=${this.closeDialog}
|
||||||
>
|
>
|
||||||
${this._error ? html`<p class="error">${this._error}</p>` : ""}
|
${this._error ? html`<p class="error">${this._error}</p>` : ""}
|
||||||
|
<div>
|
||||||
|
${this.hass.localize(
|
||||||
|
`ui.panel.config.energy.device_consumption.dialog.selected_stat_intro`
|
||||||
|
)}
|
||||||
|
</div>
|
||||||
|
|
||||||
<ha-statistic-picker
|
<ha-statistic-picker
|
||||||
.hass=${this.hass}
|
.hass=${this.hass}
|
||||||
|
@ -1052,7 +1052,10 @@
|
|||||||
"sub": "Tracking the energy usage of individual devices allows Home Assistant to break down your energy usage by device.",
|
"sub": "Tracking the energy usage of individual devices allows Home Assistant to break down your energy usage by device.",
|
||||||
"learn_more": "More information on how to get started.",
|
"learn_more": "More information on how to get started.",
|
||||||
"add_stat": "Pick entity to track energy of",
|
"add_stat": "Pick entity to track energy of",
|
||||||
"selected_stat": "Tracking energy for"
|
"selected_stat": "Tracking energy for",
|
||||||
|
"dialog": {
|
||||||
|
"selected_stat_intro": "Select the entity that represents the device energy usage."
|
||||||
|
}
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"helpers": {
|
"helpers": {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user