created a new base class for the sensors
Merge branch 'master' of https://www.github.com/diedoman/domotica