Wanted state was the same but came back false?

I’m using Shark IQ and made an automation based on the condition that the battery at 100. I get the following:

Executed: May 31, 2023 at 5:08:17 PM
Result:

result: false 
state: 100 
wanted_state: '100'

the step config is:

condition: state
entity_id: vacuum.sharkira
attribute: battery_level
state: '100'

I’m new to HA and doing automations, can someone point out what I’m doing wrong?

i think its because the quotes making it look for a string.
also you want to use numerical state condition in the automation

got it! So any number matches for an attribute would have to be a numerical condition and non-numbers would be the state attribute?