Use strict comparison for above condition in conditional card (#18560)

This commit is contained in:
Paul Bottein 2023-11-07 12:04:04 +01:00 committed by GitHub
parent 39550cefa0
commit 8bdbe8c6a6
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -83,7 +83,7 @@ function checkStateNumericCondition(
return ( return (
(condition.above == null || condition.above < numericState) && (condition.above == null || condition.above < numericState) &&
(condition.below == null || condition.below >= numericState) (condition.below == null || condition.below > numericState)
); );
} }