def db_list_sensors(c):
    """ Get list of temperature and humidity sensors from database """
    sql = "SELECT DISTINCT name FROM sensors"
    c.execute(sql)
    sensor_list = c.fetchall()
    return sensor_list