mirror of
https://github.com/home-assistant/frontend.git
synced 2025-07-21 08:16:36 +00:00
Fix unsupported_unit_metadata
text in stats dev tools (#10183)
Co-authored-by: Philip Allgaier <mail@spacegaier.de>
This commit is contained in:
parent
85956dc7fd
commit
2dc7c1afed
@ -37,10 +37,10 @@ export class DialogStatisticsFixUnsupportedUnitMetadata extends LitElement {
|
|||||||
heading="Unsupported unit in recorded statistics"
|
heading="Unsupported unit in recorded statistics"
|
||||||
>
|
>
|
||||||
<p>
|
<p>
|
||||||
The unit of the statistics in your database for this entity is not a
|
The unit ${this._params.issue.data.metadata_unit} of the statistics in
|
||||||
supported unit for the device class of the entity,
|
your database for this entity is not a supported unit for the device
|
||||||
${this._params.issue.data.device_class}. It should be
|
class of the entity, ${this._params.issue.data.device_class}. It
|
||||||
${this._params.issue.data.supported_unit}.
|
should be ${this._params.issue.data.supported_unit}.
|
||||||
</p>
|
</p>
|
||||||
<p>
|
<p>
|
||||||
Do you want to update the unit of the history statistics to
|
Do you want to update the unit of the history statistics to
|
||||||
|
@ -3733,7 +3733,7 @@
|
|||||||
"issues": {
|
"issues": {
|
||||||
"units_changed": "The unit of this entity changed from ''{metadata_unit}'' to ''{state_unit}''.",
|
"units_changed": "The unit of this entity changed from ''{metadata_unit}'' to ''{state_unit}''.",
|
||||||
"unsupported_unit_state": "The unit (''{state_unit}'') of this entity doesn't match a unit of device class ''{device_class}''.",
|
"unsupported_unit_state": "The unit (''{state_unit}'') of this entity doesn't match a unit of device class ''{device_class}''.",
|
||||||
"unsupported_unit_metadata": "The unit (''{state_unit}'') of the recorded statistics doesn't match a unit of device class ''{device_class}''.",
|
"unsupported_unit_metadata": "The unit (''{metadata_unit}'') of the recorded statistics doesn't match the supported unit ''{supported_unit}'' of device class ''{device_class}''.",
|
||||||
"unsupported_state_class": "The state class ''{state_class}'' of this entity is not supported.",
|
"unsupported_state_class": "The state class ''{state_class}'' of this entity is not supported.",
|
||||||
"entity_not_recorded": "This entity is excluded from being recorded."
|
"entity_not_recorded": "This entity is excluded from being recorded."
|
||||||
},
|
},
|
||||||
|
Loading…
x
Reference in New Issue
Block a user