mirror of
https://github.com/home-assistant/frontend.git
synced 2025-07-12 20:06:33 +00:00
Add statistic name to adjust dialog (#12229)
This commit is contained in:
parent
e0e01e68b4
commit
358f91c2a9
@ -167,6 +167,9 @@ export class DialogStatisticsFixUnsupportedUnitMetadata extends LitElement {
|
|||||||
time. This can mess up your beautiful graphs! Select a time below to
|
time. This can mess up your beautiful graphs! Select a time below to
|
||||||
find the bad moment and adjust the data.
|
find the bad moment and adjust the data.
|
||||||
</div>
|
</div>
|
||||||
|
<div class="text-content">
|
||||||
|
<b>Statistic:</b> ${this._params!.statistic.statistic_id}
|
||||||
|
</div>
|
||||||
<ha-selector-datetime
|
<ha-selector-datetime
|
||||||
label="Pick a time"
|
label="Pick a time"
|
||||||
.hass=${this.hass}
|
.hass=${this.hass}
|
||||||
@ -191,7 +194,7 @@ export class DialogStatisticsFixUnsupportedUnitMetadata extends LitElement {
|
|||||||
private _renderAdjustStat() {
|
private _renderAdjustStat() {
|
||||||
return html`
|
return html`
|
||||||
<div class="text-content">
|
<div class="text-content">
|
||||||
${this._params!.statistic.name || this._params!.statistic.statistic_id}
|
<b>Statistic:</b> ${this._params!.statistic.statistic_id}
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div class="table-row">
|
<div class="table-row">
|
||||||
|
Loading…
x
Reference in New Issue
Block a user