This is the first piston which deals with the motion sensing;
Then this is the switch piston:
Usefull for many folks. The crossing manual vs automated examples is a good thing