Add gas unit error (#9981)

This commit is contained in:
Paulus Schoutsen 2021-09-07 14:49:08 -07:00 committed by GitHub
parent d0edbec5fb
commit 5f3e980de0
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 5 additions and 0 deletions

View File

@ -105,6 +105,7 @@ class HaConfigEnergy extends LitElement {
<ha-energy-gas-settings
.hass=${this.hass}
.preferences=${this._preferences!}
.validationResult=${this._validationResult!}
@value-changed=${this._prefsChanged}
></ha-energy-gas-settings>
<ha-energy-device-settings

View File

@ -1109,6 +1109,10 @@
"title": "Unexpected unit of measurement",
"description": "The following entities do not have the expected units of measurement 'kWh' or 'Wh':"
},
"entity_unexpected_unit_gas": {
"title": "Unexpected unit of measurement",
"description": "The following entities do not have the expected units of measurement 'kWh', 'm³' or 'ft³':"
},
"entity_unexpected_unit_price": {
"title": "Unexpected unit of measurement",
"description": "The following entities do not have the expected units of measurement ''{currency}/kWh'' or ''{currency}/Wh'':"