Automation Entity State (attribute Brightness) is numeric but no way to enter number

Hi! This should be super easy, I’m setting up an automation that will trigger something when a specific light in my house is at a specific brightness.

I’m using the Entity State condition, with Attribute selected. For value, I have 13, no quotes. It never seems to match, and below is what the trace shows:

UI Config:

Trace:

This appears to detect my light is at 13, but the wanted state is ‘13’ even though I haven’t added quotes in the UI. How do I set a numeric value instead of a string for entity, state attribute brightness?

Replying to myself. The answer is to just edit it in YAML and remove the quotes the UI adds.

The real answer is to use numeric state instead of state.