So, I just spent half an hour figuring out why this automation wouldn’t work
Finally I thought to use “Edit as YAML” to see what was going on
After manually removing the quotes, the automation works. Maybe the editor could recognize those values and not insert them as strings, as I suppose it does for numeric values… which would obviously be an issue the day someone wants to check for the strings “true” or “false”