Is this the best approach for monitoring multiple sensors?

I have 13 moisture sensors that I need to monitor. When wet they shut off an Aqara T1 valve controller. I have this working in HA but shutting off a virtual switch. Is this the best way to monitor these switches, i.e., from a logic perspective? At first I was thinking I could lump all of the device triggers together in one statement which is how it is done in Hubitat (See below).

-Thanks

If you use a State trigger instead of Device triggers* you can list all the entities in the one trigger.

Other options include:

  1. Putting all the binary sensors in a Group, then triggering off that entity.
  2. Using Templates

*Why and how to avoid device_ids in automations and scripts

Thank you, good to know! I was researching how to accomplish this in YAML, but found the device_id and entity_id are both in hex.