Just in case you find it useful, (or educational) here is a single command to turn any unit on, or off
<?xml version="1.0" encoding="utf-16"?>
<command id="416" name="Turn unit {1} {2}" enabled="true" alwaysOn="False" confirm="False" requiredConfidence="0" loop="False" loopDelay="0" loopMax="0" description="">
<if ifBlockDisabled="False" ifNot="False">
<ifType>(A)==(B)</ifType>
<ifParams>{2}&&on</ifParams>
<then>
<action>
<cmdType>Scrape</cmdType>
<cmdString>http://192.168.1.221/Set.cmd?CMD=SetPower+P6{1}=1&&admin&&12345678</cmdString>
<cmdRepeat>1</cmdRepeat>
</action>
</then>
<else>
<action>
<cmdType>Scrape</cmdType>
<cmdString>http://192.168.1.221/Set.cmd?CMD=SetPower+P6{1}=0&&admin&&12345678</cmdString>
<cmdRepeat>1</cmdRepeat>
</action>
</else>
</if>
<phrase>turn unit</phrase>
<payloadRange>1,6</payloadRange>
<payloadList>on, off</payloadList>
</command>
I can't test it, so I hope I didn't make a mistake!