Automation with Numeric Condition

The number will be from 0 to 100, not 0 to 1. Paste in the YAML for the automation you have tried.