mirror of
https://github.com/home-assistant/frontend.git
synced 2025-07-25 18:26:35 +00:00
Correct filtering of statistics when adding gas energy source (#13968)
This commit is contained in:
parent
8c7974e466
commit
aa673774a8
@ -102,7 +102,10 @@ export class DialogEnergyGasSettings
|
|||||||
|
|
||||||
<ha-statistic-picker
|
<ha-statistic-picker
|
||||||
.hass=${this.hass}
|
.hass=${this.hass}
|
||||||
.includeUnitClass=${this._params.allowedGasUnitClass}
|
.includeUnitClass=${this._params.allowedGasUnitClass || [
|
||||||
|
"volume",
|
||||||
|
"energy",
|
||||||
|
]}
|
||||||
.value=${this._source.stat_energy_from}
|
.value=${this._source.stat_energy_from}
|
||||||
.label=${`${this.hass.localize(
|
.label=${`${this.hass.localize(
|
||||||
"ui.panel.config.energy.gas.dialog.gas_usage"
|
"ui.panel.config.energy.gas.dialog.gas_usage"
|
||||||
|
Loading…
x
Reference in New Issue
Block a user