From 75a35667601aff806a77a9fb59eadbcd13a26278 Mon Sep 17 00:00:00 2001 From: Philip Allgaier Date: Fri, 1 Oct 2021 00:00:20 +0200 Subject: [PATCH] Fixed typo in unsupported unit statistics dialog (#10118) --- .../statistics/developer-tools-statistics.ts | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/panels/developer-tools/statistics/developer-tools-statistics.ts b/src/panels/developer-tools/statistics/developer-tools-statistics.ts index 843b02cd7b..ca06e42441 100644 --- a/src/panels/developer-tools/statistics/developer-tools-statistics.ts +++ b/src/panels/developer-tools/statistics/developer-tools-statistics.ts @@ -123,11 +123,11 @@ class HaPanelDevStatistics extends LitElement { if (issue.type === "unsupported_unit") { showAlertDialog(this, { title: "Unsupported unit", - text: html`The unit of your entity is not a suppported unit for the + text: html`The unit of your entity is not a supported unit for the device class of the entity, ${issue.data.device_class}.
Statistics can not be generated until this entity has a - supported unit.

If this unit was provided by an - integration, this is a bug. Please report an issue.

If you + supported unit.

If this unit was provided by an + integration, this is a bug. Please report an issue.

If you have set this unit yourself, and want to have statistics generated, make sure the unit matched the device class. The supported units are documented in the