diff --git a/src/components/ha-selector/ha-selector-numeric-threshold.ts b/src/components/ha-selector/ha-selector-numeric-threshold.ts index e34d3680fd..d439f5d944 100644 --- a/src/components/ha-selector/ha-selector-numeric-threshold.ts +++ b/src/components/ha-selector/ha-selector-numeric-threshold.ts @@ -287,7 +287,9 @@ export class HaNumericThresholdSelector extends LitElement { const numberSelector = { number: { ...this.selector.numeric_threshold?.number, - ...(effectiveUnit ? { unit_of_measurement: effectiveUnit } : {}), + ...(!showUnit && effectiveUnit + ? { unit_of_measurement: effectiveUnit } + : {}), }, }; const entitySelector = {