Select Members of a Dropdown group in Automation / Scripts

I’m creating an Automation (or script), and want to set a Dropdown variable. I use Call service, Target is the Dropdown entity, but I have to manually type in Option. It would be great if I could select the value from a dropdown, just like I would if I clicked / tapped on the entity on the front end.