added switch statements, notify should be complete now
Merge branch 'master' of https://www.github.com/diedoman/domotica