From e8b4eeec6702bedc65d9fe094a71a842edbd1f4b Mon Sep 17 00:00:00 2001 From: Paul Bottein Date: Wed, 25 Oct 2023 15:38:39 +0200 Subject: [PATCH] Allow any number in above and below numeric condition (#18403) --- .../editor/conditions/types/ha-card-condition-numeric_state.ts | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/panels/lovelace/editor/conditions/types/ha-card-condition-numeric_state.ts b/src/panels/lovelace/editor/conditions/types/ha-card-condition-numeric_state.ts index 7804195fcb..ff33d6352c 100644 --- a/src/panels/lovelace/editor/conditions/types/ha-card-condition-numeric_state.ts +++ b/src/panels/lovelace/editor/conditions/types/ha-card-condition-numeric_state.ts @@ -48,6 +48,7 @@ export class HaCardConditionNumericState extends LitElement { name: "above", selector: { number: { + step: "any", mode: "box", unit_of_measurement: stateObj?.attributes.unit_of_measurement, }, @@ -57,6 +58,7 @@ export class HaCardConditionNumericState extends LitElement { name: "below", selector: { number: { + step: "any", mode: "box", unit_of_measurement: stateObj?.attributes.unit_of_measurement, },