@alex9926 it is just an evaluation error which you can ignore.
I currently use this to disable 3 devices and the great thing about python is that we can run multiple instances at once.
Create a bash containg all your command and append “&” to it, this is my IRAll.sh script:
python /home/pi/pimatic-app/scripts/BlackBeanControl/BlackBeanControl.py -c TVPower &
sleep 0.5
python /home/pi/pimatic-app/scripts/BlackBeanControl/BlackBeanControl.py -c AmikoPower &
sleep 0.5
python /home/pi/pimatic-app/scripts/BlackBeanControl/BlackBeanControl.py -c LgPower
Save it, chmod +x and you can use it as:
WHEN…THEN execute “path/to/irscript.sh”