Well, that “hack” does some fine drivers. I would suggest his other driver for the same device:
The nice thing about it is that it logically splits the motion sensor from the switch, useful for rules if you have the device in Manual mode. I use it on several in our home, works well.