Malformed template message

Trying to use a template as a condition in an automation in lovelace
the condition should only be tru October thru April
Getting a malformed template message when trying to save the automation

{{ now().month in [10, 11, 12, 1, 2, 3, 4 }}
running version core 2024.9.1

what did I screw up  ?

you’re missing a ]

1 Like

Thanks Petro