Why doesn’t numeric state have an “equal to” option?

To check if my home’s backup battery is charged to 100% I have to check if it’s been above 99 for some random amount of time.

It would be much better to know when the state has reached 100.

No, you just use a State trigger…

platform: state
entity_id: sensor.battery_x
to: 100

State triggers are used when you want to monitor if the entity’s state (or attribute) value changes to a specific value. Numeric state triggers are used when you need to perform a numerical comparison.

1 Like