From b69e9791c7335f20bb2e25431348b792b29c20ba Mon Sep 17 00:00:00 2001 From: Paul Bottein Date: Wed, 25 Oct 2023 15:27:44 +0200 Subject: [PATCH] Allow any number in above and below numeric condition --- .../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 7804195fcbd9..ff33d6352ce6 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, },