mirror of
https://github.com/home-assistant/frontend.git
synced 2025-07-24 09:46:36 +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
|
||||
.hass=${this.hass}
|
||||
.includeUnitClass=${this._params.allowedGasUnitClass}
|
||||
.includeUnitClass=${this._params.allowedGasUnitClass || [
|
||||
"volume",
|
||||
"energy",
|
||||
]}
|
||||
.value=${this._source.stat_energy_from}
|
||||
.label=${`${this.hass.localize(
|
||||
"ui.panel.config.energy.gas.dialog.gas_usage"
|
||||
|
Loading…
x
Reference in New Issue
Block a user