Use sprinkler component for two valves

I know that this is not what you asked for but i use Kloggy my garden irrigation below, that can use up to 12 zones i think but you can use two zones, i use only four zones myself and it works a treat with all types of conditions integrated into this integration, which may be off use below.