added stop when switch is changed to OFF
Merge branch 'master' of https://github.com/Dowers/tsea29