@klogg wrote:
I’d rather not add noise to the feature requests if this isn’t valid.
So, is this a valid feature request?Using ‘numeric_state’, if you want to know if an entity is exactly n you have to use
below
andabove
which is fine so long as you know the precision of the number you are dealing with.What if you don’t?
I’m resorting to using the slightly ridiculousbelow: 0.001
to check for exactly zero which is fine as I am checking aninput_number
which I defined to have astep
of 0.1 (and I know it can’t be negative). But what if the entity state was a floating number of indeterminate precision?Or even what if in the future I change the
step
for myinput_boolean
? It could break some automations and that can’t be right.
Posts: 8
Participants: 4