Allow any number in above and below numeric condition (#18403)

This commit is contained in:
Paul Bottein 2023-10-25 15:38:39 +02:00 committed by GitHub
parent b0b7e77e28
commit e8b4eeec67
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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,
},