How to service call all the entities under the same domain?

Hello folks, I would like to call a service let say for all of my thermostat to set their preset_mode to home when I am home. I am wondering can one use wild card (or any other method) to call a service to all the entities under the same domain. Example of what I want to achieve:

Service call:

{data={entity_id:"climate.#or?(all of them)", preset_mode : "Home"}}

Any ideas?