mirror of
https://github.com/home-assistant/frontend.git
synced 2025-07-18 23:06:40 +00:00
Use strict comparison for above condition in conditional card (#18560)
This commit is contained in:
parent
39550cefa0
commit
8bdbe8c6a6
@ -83,7 +83,7 @@ function checkStateNumericCondition(
|
||||
|
||||
return (
|
||||
(condition.above == null || condition.above < numericState) &&
|
||||
(condition.below == null || condition.below >= numericState)
|
||||
(condition.below == null || condition.below > numericState)
|
||||
);
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user