PowerMate.py seems to work.
PowerMate.py refactored
PowerMate now works for left and right.