diff --git a/src/common/entity/compute_state_display.ts b/src/common/entity/compute_state_display.ts
index adf62f2104..590f798d94 100644
--- a/src/common/entity/compute_state_display.ts
+++ b/src/common/entity/compute_state_display.ts
@@ -43,7 +43,7 @@ export const computeStateDisplay = (
if (domain === "input_datetime") {
if (state !== undefined) {
- // If trying to display an explicit state, need to parse the explict state to `Date` then format.
+ // If trying to display an explicit state, need to parse the explicit state to `Date` then format.
// Attributes aren't available, we have to use `state`.
try {
const components = state.split(" ");
diff --git a/src/components/entity/ha-state-label-badge.ts b/src/components/entity/ha-state-label-badge.ts
index 19ea56dbcf..919ad6de55 100644
--- a/src/components/entity/ha-state-label-badge.ts
+++ b/src/components/entity/ha-state-label-badge.ts
@@ -147,7 +147,7 @@ export class HaStateLabelBadge extends LitElement {
default:
return entityState.state === UNKNOWN ||
entityState.state === UNAVAILABLE
- ? "-"
+ ? "—"
: isNumericState(entityState)
? formatNumber(entityState.state, this.hass!.locale)
: computeStateDisplay(
diff --git a/src/components/ha-attributes.ts b/src/components/ha-attributes.ts
index 8168043eb8..5e47290df7 100644
--- a/src/components/ha-attributes.ts
+++ b/src/components/ha-attributes.ts
@@ -120,7 +120,7 @@ class HaAttributes extends LitElement {
private formatAttribute(attribute: string): string | TemplateResult {
if (!this.stateObj) {
- return "-";
+ return "—";
}
const value = this.stateObj.attributes[attribute];
return formatAttributeValue(this.hass, value);
diff --git a/src/components/ha-water_heater-state.js b/src/components/ha-water_heater-state.js
index 8e6759ea6d..c9bd1147ac 100644
--- a/src/components/ha-water_heater-state.js
+++ b/src/components/ha-water_heater-state.js
@@ -64,7 +64,7 @@ class HaWaterHeaterState extends LocalizeMixin(PolymerElement) {
return `${formatNumber(
stateObj.attributes.target_temp_low,
this.hass.locale
- )} - ${formatNumber(
+ )} – ${formatNumber(
stateObj.attributes.target_temp_high,
this.hass.locale
)} ${hass.config.unit_system.temperature}`;
diff --git a/src/panels/config/devices/ha-config-devices-dashboard.ts b/src/panels/config/devices/ha-config-devices-dashboard.ts
index 39079858df..d26c099e1b 100644
--- a/src/panels/config/devices/ha-config-devices-dashboard.ts
+++ b/src/panels/config/devices/ha-config-devices-dashboard.ts
@@ -320,7 +320,7 @@ export class HaConfigDeviceDashboard extends LitElement {
.batteryChargingStateObj=${batteryCharging}
>
`
- : html` - `;
+ : html`—`;
},
};
if (showDisabled) {
diff --git a/src/panels/config/lovelace/dashboards/ha-config-lovelace-dashboards.ts b/src/panels/config/lovelace/dashboards/ha-config-lovelace-dashboards.ts
index ab858b317f..63623ccb21 100644
--- a/src/panels/config/lovelace/dashboards/ha-config-lovelace-dashboards.ts
+++ b/src/panels/config/lovelace/dashboards/ha-config-lovelace-dashboards.ts
@@ -89,7 +89,7 @@ export class HaConfigLovelaceDashboards extends LitElement {
${this.hass.localize(
`ui.panel.config.lovelace.dashboards.conf_mode.${dashboard.mode}`
)}${dashboard.filename
- ? html` - ${dashboard.filename} `
+ ? html` – ${dashboard.filename} `
: ""}
`
@@ -132,8 +132,8 @@ export class HaConfigLovelaceDashboards extends LitElement {
width: "100px",
template: (requireAdmin: boolean) =>
requireAdmin
- ? html` `
- : html` - `,
+ ? html``
+ : html`—`,
};
columns.show_in_sidebar = {
title: this.hass.localize(
@@ -143,8 +143,8 @@ export class HaConfigLovelaceDashboards extends LitElement {
width: "121px",
template: (sidebar) =>
sidebar
- ? html` `
- : html` - `,
+ ? html``
+ : html`—`,
};
}
diff --git a/src/panels/config/users/ha-config-users.ts b/src/panels/config/users/ha-config-users.ts
index a4e823c64c..57faf9a2e6 100644
--- a/src/panels/config/users/ha-config-users.ts
+++ b/src/panels/config/users/ha-config-users.ts
@@ -67,7 +67,7 @@ export class HaConfigUsers extends LitElement {
width: "20%",
direction: "asc",
hidden: narrow,
- template: (username) => html` ${username || "-"} `,
+ template: (username) => html`${username || "—"}`,
},
group_ids: {
title: localize("ui.panel.config.users.picker.headers.group"),
diff --git a/src/panels/lovelace/cards/energy/hui-energy-distribution-card.ts b/src/panels/lovelace/cards/energy/hui-energy-distribution-card.ts
index 58e49fe765..1f85a6e857 100644
--- a/src/panels/lovelace/cards/energy/hui-energy-distribution-card.ts
+++ b/src/panels/lovelace/cards/energy/hui-energy-distribution-card.ts
@@ -274,7 +274,7 @@ class HuiEnergyDistrubutionCard
? formatNumber(lowCarbonEnergy, this.hass.locale, {
maximumFractionDigits: 1,
})
- : "-"}
+ : "—"}
kWh