second part of sensor typessrc/domogik/common/database.py