Update thlogdb.py

Added variable for sensor type